1
0
Fork 0
tuned/tests/unit
Miro Hrončok 2399aa3b2d Remove usage of unittest2, use unittest from the standard library
Fixes https://github.com/redhat-performance/tuned/issues/241

Fedora is removing the unittest2 package: https://bugzilla.redhat.com/show_bug.cgi?id=1794222

tuned is not targeting Python 2.6: https://github.com/redhat-performance/tuned/issues/241#issuecomment-588320175

One thing not present in Python 2.7 is assertItemsEqual() -- renamed to assertCountEqual().

Related, mock was also listed as a requirement in the spec file,
but all the imports are from unittest.mock, hence removed.
2020-02-25 20:04:51 +01:00
..
exports Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
hardware Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
monitors Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
plugins Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
profiles Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
storage Replace python flexmock module with builtin mock 2019-11-28 07:54:15 +01:00
utils Remove usage of unittest2, use unittest from the standard library 2020-02-25 20:04:51 +01:00
__init__.py tests: moved tests under directory 'tests' 2019-11-18 16:34:11 +01:00
func_basic.sh tests: moved tests under directory 'tests' 2019-11-18 16:34:11 +01:00
globals.py Replace python flexmock module with builtin mock 2019-11-28 07:54:15 +01:00