mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 17:33:08 +01:00
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