feat: code validation, endpoint and tests

This commit is contained in:
Gabriel Almeida 2023-03-28 19:17:26 -03:00
commit b8a41037ec
11 changed files with 238 additions and 30 deletions

View file

@ -11,6 +11,11 @@ def pytest_configure():
Path(__file__).parent.absolute() / "data" / "complex_example.json"
)
pytest.CODE_WITH_SYNTAX_ERROR = """
def get_text():
retun "Hello World"
"""
# Create client fixture for FastAPI
@pytest.fixture(scope="module")