Skip to content

Commit

Permalink
fix test_serve unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Jun 5, 2024
1 parent 8c22dfb commit 8848de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/task/docs/test_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_serve_bind_to_all(serve_task):
serve_task.args.browser = False
serve_task.args.host = ""

with patch("dbt.task.docs.serve.socketserver.TCPServer") as patched_TCPServer:
with patch("dbt.task.serve.socketserver.TCPServer") as patched_TCPServer:
patched_TCPServer.return_value = MagicMock()
serve_task.run()
patched_TCPServer.assert_called_once_with(("", 8000), SimpleHTTPRequestHandler)

0 comments on commit 8848de7

Please sign in to comment.