From 9facd6dc9fd3034b928855cb2e365dd59139c80d Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Fri, 17 May 2024 21:58:13 -0600 Subject: [PATCH] add tests --- tests/conftest.py | 9 +++++++++ tests/test_app.py | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 tests/conftest.py create mode 100644 tests/test_app.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..0161ddc --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,9 @@ +import pytest + +from teufa.app import create_app + + +@pytest.fixture +def app(): + app = create_app() + yield app diff --git a/tests/test_app.py b/tests/test_app.py new file mode 100644 index 0000000..c683353 --- /dev/null +++ b/tests/test_app.py @@ -0,0 +1,3 @@ + +def test_app(app): + assert app