torproject / stem

Python controller library for Tor
https://stem.torproject.org/
GNU Lesser General Public License v3.0
257 stars 75 forks source link

KeyError: 'specific_test' when running stem's tests #63

Closed teor2345 closed 4 years ago

teor2345 commented 4 years ago

When running stem's tests on commit 99c3043, we see the following error in tor's CI:

Traceback (most recent call last): File "/home/travis/build/torproject/tor/stem/run_tests.py", line 482, in main() File "/home/travis/build/torproject/tor/stem/run_tests.py", line 197, in main args = test.arguments.Arguments.parse(sys.argv[1:]) File "/home/travis/build/torproject/tor/stem/test/arguments.py", line 109, in parse args['specific_test'].append(crop_module_name(arg)) KeyError: 'specific_test' https://travis-ci.org/github/torproject/tor/jobs/686422295#L3615

The previous commit d1174a83 does not appear to have this issue.

Edit: specify the correct working commit.

teor2345 commented 4 years ago

It's actually d1174a83 that works for me.

atagar commented 4 years ago

Thanks teor! Fixed...

https://gitweb.torproject.org/stem.git/commit/?id=3a71bd9