Yuming Zhu
|
ca05418fb5
|
unittest: use unittest.mock instead of mock
because the absence of unittest.mock on python2.7, we still fallback to
mock
|
2024-10-23 16:35:30 +00:00 |
|
Tomas Kopecek
|
b030b46f74
|
remove unittest2
|
2020-10-06 15:00:23 +02:00 |
|
Tomas Kopecek
|
df11172629
|
fix str-type testing in fix_encoding
Fixes: https://pagure.io/koji/issue/1318
|
2019-05-21 12:18:19 -04:00 |
|
Tomas Kopecek
|
eeeeb3ab78
|
skip fixEncoding for py3
|
2019-03-04 10:13:51 -05:00 |
|
Tomas Kopecek
|
c68396c059
|
Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
|
2018-06-07 09:39:39 -04:00 |
|
Franz Chih-Ping Hsieh
|
f356ac4f17
|
force using python2 to run script
Fixes #945
|
2018-05-24 00:01:30 -04:00 |
|
Mike McLean
|
8a4c75ee7f
|
rename fixPrint->_fix_print and add a docstring
|
2017-12-06 13:32:51 +08:00 |
|
Yuming Zhu
|
3464adae2e
|
cli: fix changelog encode for PY3
relates [issue#577](https://pagure.io/koji/issue/577)
|
2017-12-06 13:32:29 +08:00 |
|
Tomas Kopecek
|
95f012b27d
|
fixEncoding tests
|
2017-06-01 09:39:25 +02:00 |
|
Mike McLean
|
efe59699c6
|
fix some test constants
|
2017-06-01 09:39:25 +02:00 |
|
Mike McLean
|
c4a48efd83
|
move lib tests into subdir
|
2017-06-01 09:39:24 +02:00 |
|