added test_suite information in setup.py.
This commit is contained in:
parent
0df01e9ada
commit
a4092845da
1
setup.py
1
setup.py
@ -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
0
test/__init__.py
Normal 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():
|
||||||
|
Loading…
Reference in New Issue
Block a user