add tests
This commit is contained in:
parent
7e77121037
commit
9facd6dc9f
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
|
Loading…
x
Reference in New Issue
Block a user