Jakub Kadlcik
ecd5718f62
Define a small abstraction for mocking builtins
...
It's better to do the python2 and python3 compatibility magic on
one place rather than having having `if PY2` conditions everywhere
and figuring whether to use `builtins.foo` or `__builtin__.foo
over and over again.
2020-04-26 14:13:35 +02:00
Jakub Kadlcik
a72d4fbe50
Move is_rawhide and is_epel6 definitions to __init__ so other tests can use it
2020-04-23 11:35:03 +02:00
Alex Wood
9b1d1c6988
Silence spurious test output.
2015-06-04 17:50:33 -04:00
Alex Wood
a8514c4dda
Correct Python version incompatibilities.
2015-05-18 14:01:43 -04: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
Alex Wood
ea0ea51552
Unit test new common functions and fix revealed bugs.
2015-05-18 14:00:19 -04:00
Devan Goodwin
e5e98bc098
Big test refactor.
...
Introduce unit test framework, disable functional test framework for
now, but getting closer to something that's sensible.
2009-07-24 23:00:45 -03:00