From fb527304af261aec3bc9570569505eef7b1e81cb Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Wed, 22 May 2024 12:07:39 -0400 Subject: [PATCH] fix unit tests --- tests/unit/task/docs/test_serve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/task/docs/test_serve.py b/tests/unit/task/docs/test_serve.py index cedb234a205..c7937c01a16 100644 --- a/tests/unit/task/docs/test_serve.py +++ b/tests/unit/task/docs/test_serve.py @@ -3,7 +3,7 @@ import pytest -from dbt.task.docs.serve import ServeTask +from dbt.task.serve import ServeTask @pytest.fixture @@ -17,7 +17,7 @@ def serve_task(): def test_serve_bind_to_127(serve_task): serve_task.args.browser = False - 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(("127.0.0.1", 8000), SimpleHTTPRequestHandler)