added test_suite information in setup.py.

This commit is contained in:
Abhinav Sarkar 2008-09-16 20:17:28 +00:00
parent 0df01e9ada
commit a4092845da
3 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ SETUPTOOLS_METADATA = dict(
'Topic :: Multimedia :: Sound/Audio', 'Topic :: Multimedia :: Sound/Audio',
'Topic :: Internet', 'Topic :: Internet',
], ],
test_suite = "test",
) )
import sys import sys

0
test/__init__.py Normal file
View File

View File

@ -29,7 +29,7 @@ def test_app(environ, start_response):
global _app_was_hit global _app_was_hit
_app_was_hit = True _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] return [filedata]
def create_wsgi_app(): def create_wsgi_app():