Fix python linting warnings in our test files

There are a few linting warnings for our python test files, which can be seen with

./mach lint --warnings=soft testing/tor/
./mach lint --warnings=soft .gitlab/ci/jobs/startup-test/

They seem easy enough to address to make the linter even happier.

Assignee Loading
Time tracking Loading