catchpoint / WebPageTest.agent

Cross-platform WebPageTest agent
Other
213 stars 138 forks source link

removed redundant testinfo start time set. #501

Closed sammeboy635 closed 2 years ago

sammeboy635 commented 2 years ago

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.

No_check for testinfo