From 8d446be4b4c831de5c60531b17e8953616347e97 Mon Sep 17 00:00:00 2001 From: UJeans Date: Fri, 1 Nov 2024 15:34:09 +0900 Subject: [PATCH] =?UTF-8?q?[#29]chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/__init__.py | 0 tests/route/execute/test_execute_service.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/route/execute/test_execute_service.py b/tests/route/execute/test_execute_service.py index 28c866d..6d67928 100644 --- a/tests/route/execute/test_execute_service.py +++ b/tests/route/execute/test_execute_service.py @@ -1,7 +1,7 @@ -from app.route.execute.service.execute_service import _contains_forbidden_imports +from app.route.execute.service import execute_service def test__contains_forbidden_imports(): code = "import os\n" - assert _contains_forbidden_imports(code) is True + assert execute_service._contains_forbidden_imports(code) is True