pytest: Clean up some tools vs pytest breakage in that last commit.

Seems you cannot have two __init__ methods in a class, so change
code to only one one variant.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2021-02-11 16:18:07 -08:00
parent 98b0078336
commit 06fbba1aad
6 changed files with 35 additions and 54 deletions

View File

@@ -53,4 +53,12 @@ def create_command_line_args(request):
command_line_args.ssid_5g_wpa2 = request.config.getoption("--ssid-5g-wpa2")
command_line_args.psk_2g_wpa2 = request.config.getoption("--psk-2g-wpa2")
command_line_args.psk_5g_wpa2 = request.config.getoption("--psk-5g-wpa2")
command_line_args.testrail_base_url = request.config.getoption("--testrail-base-url")
command_line_args.testrail_project = request.config.getoption("--testrail-project")
command_line_args.testrail_user_id = request.config.getoption("--testrail-user-id")
command_line_args.testrail_user_password = request.config.getoption("--testrail-user-password")
command_line_args.testrail_run_prefix = request.config.getoption("--testrail-run-prefix")
command_line_args.testrail_milestone = request.config.getoption("--testrail-milestone")
return command_line_args