From 5a6f1e15fe1da832a1c561c40295ae56196a8cd7 Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 21 Aug 2005 00:05:58 +0000 Subject: Initial run at tests --- tests/test_basic_app.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/test_basic_app.py (limited to 'tests/test_basic_app.py') 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 + -- cgit v1.2.1