Current Path :
/
usr
/
lib
/
python2.7
/
site-packages
/
flask_api
/
tests
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//usr/lib/python2.7/site-packages/flask_api/tests/__init__.py
# This is a fudge that allows us to easily specify test modules. # For example: # ./runtests test_parsers # ./runtests test_rendereres.RendererTests.test_render_json import os modules = [filename.rsplit('.', 1)[0] for filename in os.listdir(os.path.dirname(__file__)) if filename.endswith('.py') and filename.startswith('test_')] for module in modules: exec("from flask_api.tests.%s import *" % module)