aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test_factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_factory.py')
-rw-r--r--src/tests/test_factory.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/test_factory.py b/src/tests/test_factory.py
new file mode 100644
index 0000000..20a10b4
--- /dev/null
+++ b/src/tests/test_factory.py
@@ -0,0 +1,5 @@
+from lb_app import create_app
+
+def test_config():
+ assert not create_app().testing
+ assert create_app({'TESTING': True}).testing