mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Remove test command from manage.py
This commit is contained in:
parent
c2bd37ce45
commit
13ce4e0ea5
14
manage.py
14
manage.py
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user