summaryrefslogtreecommitdiff
path: root/tests/test_basic_app.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-08-21 00:05:58 +0000
committerianb <devnull@localhost>2005-08-21 00:05:58 +0000
commit5a6f1e15fe1da832a1c561c40295ae56196a8cd7 (patch)
treefe7f47fb5d5875bbb8bda9ddcb0f11f27cfd9b2e /tests/test_basic_app.py
parenta98a05e7dff3091cca99a2d74663fde7d032a124 (diff)
downloadpastedeploy-5a6f1e15fe1da832a1c561c40295ae56196a8cd7.tar.gz
Initial run at tests
Diffstat (limited to 'tests/test_basic_app.py')
-rw-r--r--tests/test_basic_app.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_basic_app.py b/tests/test_basic_app.py
new file mode 100644
index 0000000..170be42
--- /dev/null
+++ b/tests/test_basic_app.py
@@ -0,0 +1,12 @@
+from paste.deploy import loadwsgi
+from fixture import *
+import fakeapp.apps
+
+def test_main():
+ app = loadtest('basic_app.ini')
+ assert app is fakeapp.apps.basic_app
+
+def test_other():
+ app = loadtest('basic_app.ini', name='other')
+ assert app is fakeapp.apps.basic_app2
+