forked from extern/django-helpdesk
Make specifying tests when calling quicktest optional
This commit is contained in:
parent
38dae04346
commit
6693496214
@ -110,6 +110,8 @@ if __name__ == '__main__':
|
||||
usage="[args]",
|
||||
description="Run Django tests."
|
||||
)
|
||||
parser.add_argument('tests', nargs='+', type=str)
|
||||
parser.add_argument('tests', nargs="*", type=str)
|
||||
args = parser.parse_args()
|
||||
if not args.tests:
|
||||
args.tests = ['helpdesk']
|
||||
QuickDjangoTest(*args.tests)
|
||||
|
Loading…
Reference in New Issue
Block a user