Remove test command from manage.py

This commit is contained in:
Roman Mogilatov 2015-03-18 15:39:30 +02:00
parent c2bd37ce45
commit 13ce4e0ea5

View File

@ -34,19 +34,5 @@ def check():
os.system('pep257 examples/')
@manager.command
def test():
"""Run unittests."""
os.system('find ./objects -name "*.pyc" -exec rm -rf {} \\;')
os.system('find ./tests -name "*.pyc" -exec rm -rf {} \\;')
os.system('find ./objects -name "*.pyo" -exec rm -rf {} \\;')
os.system('find ./tests -name "*.pyo" -exec rm -rf {} \\;')
os.system('coverage run --rcfile=./.coveragerc `which unit2` discover')
os.system('coverage html --rcfile=./.coveragerc')
os.system('rm -f .coverage')
if __name__ == '__main__':
manager.main()