Fixing the condition to run tests in tempest run

During stestr migration, it  seems like we stopped running the
tests in tempest run cli if config_file or workspace arg are passed.

This commit fixing this behavior.

Change-Id: Idf77ff9dd9c0ba0a134dfe61b1ab79d069d3ff0c
This commit is contained in:
ghanshyam 2018-02-23 05:25:28 +00:00 committed by Ghanshyam Mann
parent 3a28a10aba
commit 2998117ba6
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class TempestRun(command.Command):
blacklist_file=parsed_args.blacklist_file,
black_regex=parsed_args.black_regex)
elif not (parsed_args.config_file or parsed_args.workspace):
else:
serial = not parsed_args.parallel
return_code = commands.run_command(
filters=regex, subunit_out=parsed_args.subunit,