pass runner_index instead of env_file_path to runner. add ENV_FILES fixture

This commit is contained in:
Daniel 2023-12-07 01:19:52 +01:00
parent 05423e0770
commit aaf758b706
2 changed files with 25 additions and 23 deletions

View file

@ -123,8 +123,8 @@ class Runner:
# command_arguments.append("-rx")
command_arguments.append(str(full_test_path))
command_arguments.append("--env_file")
command_arguments.append(str(self.dotenv_path))
command_arguments.append("--runner_index")
command_arguments.append(str(self.runner_index))
# set root dir for tests output (used in DirManager). this is our custom argument
command_arguments.append("--output_dir")
@ -146,7 +146,7 @@ class Runner:
# command_arguments.append("on")
# Disable capturing. With -s set, prints will go to console as if pytest is not there.
# command_arguments.append("-s")
command_arguments.append("-s")
# headed
# command_arguments.append("--headed")