add tests
This commit is contained in:
9
tests/conftest.py
Normal file
9
tests/conftest.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
|
from teufa.app import create_app
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture
|
||||||
|
def app():
|
||||||
|
app = create_app()
|
||||||
|
yield app
|
3
tests/test_app.py
Normal file
3
tests/test_app.py
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
def test_app(app):
|
||||||
|
assert app
|
Reference in New Issue
Block a user