From a4092845da194132d70d8bebced7907f16d26859 Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Tue, 16 Sep 2008 20:17:28 +0000 Subject: [PATCH] added test_suite information in setup.py. --- setup.py | 1 + test/__init__.py | 0 test/wsgi_test_app.py | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 test/__init__.py diff --git a/setup.py b/setup.py index ffdc62a..74bd9b3 100644 --- a/setup.py +++ b/setup.py @@ -34,6 +34,7 @@ SETUPTOOLS_METADATA = dict( 'Topic :: Multimedia :: Sound/Audio', 'Topic :: Internet', ], + test_suite = "test", ) import sys diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/wsgi_test_app.py b/test/wsgi_test_app.py index 44e352e..7ae2cea 100644 --- a/test/wsgi_test_app.py +++ b/test/wsgi_test_app.py @@ -29,7 +29,7 @@ def test_app(environ, start_response): global _app_was_hit _app_was_hit = True - filedata = unicode(open(os.path.join('data', key)).read()) + filedata = unicode(open(os.path.join(os.path.dirname(__file__), 'data', key)).read()) return [filedata] def create_wsgi_app():