CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
791 stars 75 forks source link

Python 3 green does not load test modules #92

Closed jayvdb closed 8 years ago

jayvdb commented 8 years ago

While Python 2 loads specific test modules in Pywikibot quite well (see #90 ), the same command line syntax fails in Python 3

$ green3 tests.site_tests
tests: max_retries reduced from 25 to 1

Ran 0 tests in 0.144s

No Tests Found

I quickly tested the pep8 test suite, and it worked well, so green is having a problem with something in the Pywikibot test suite.

[pep8]$ green
..............................

Ran 30 tests in 3.741s

OK (passes=30)
[pep8]$ green testsuite.test_parser
....

Ran 4 tests in 0.131s

OK (passes=4)
[pep8]$ green3 testsuite.test_parser
....

Ran 4 tests in 0.240s

OK (passes=4)
jayvdb commented 8 years ago

This was a problem on my side; sorry for the noise.