...
This commit is contained in:
parent
85b6053380
commit
e69b02ad46
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ def print_go() -> None:
|
||||||
|
|
||||||
if args.name:
|
if args.name:
|
||||||
tests = filter_tests_by_name(tests, *args.name)
|
tests = filter_tests_by_name(tests, *args.name)
|
||||||
if not tests._tests:
|
if not tests._tests and not go_pkgs:
|
||||||
raise SystemExit('No test named %s found' % args.name)
|
raise SystemExit('No test named %s found' % args.name)
|
||||||
python_tests_ok = run_cli(tests, args.verbosity)
|
python_tests_ok = run_cli(tests, args.verbosity)
|
||||||
exit_code = 0 if python_tests_ok else 1
|
exit_code = 0 if python_tests_ok else 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue