Running with (python3 wptagent.py -vvvv --location test --key 12546 --testurl 'https://google.com' --testspec testspec.json --testout url --xvfb)
job['testinfo']['started'] is caught on exception because 'testinfo' wasn't checked if it was a key first but earlier in the code was a job['testinfo']['started'] = job['started'] at line 579 with the proper check first. So I removed the redundant set.
Running with (python3 wptagent.py -vvvv --location test --key 12546 --testurl 'https://google.com' --testspec testspec.json --testout url --xvfb)
job['testinfo']['started'] is caught on exception because 'testinfo' wasn't checked if it was a key first but earlier in the code was a job['testinfo']['started'] = job['started'] at line 579 with the proper check first. So I removed the redundant set.