Commit graph

3 commits

Author SHA1 Message Date
Pavel Raiskup
6feb4f2d21 tests: s/nosetests/pytest/
- Requires us to add pytest.ini to tell pytest where to look for test
  files, and set the python path.
- Mock drops terminal from the tested code, so we have to "mock" it in
  test_colors()
- Enable coverage in tox tests.
2024-11-06 11:19:55 +01:00
Pavel Raiskup
3ec27836f3 tests: make tox tests working 2024-11-06 11:19:55 +01:00
Alex Wood
b0e85268c9 Add flake8 configuration. Fix style issues.
- Remove assignments to unused variables
- Rename variables shadowing builtins
- Fix all flake8 errors in tests
2015-05-18 14:00:19 -04:00