Skip to content

Commit

Permalink
[#29]chore: 테스트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ujkkk committed Nov 1, 2024
1 parent 7c38b81 commit 8d446be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added tests/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/route/execute/test_execute_service.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8d446be

Please sign in to comment.