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 |
|
Mike McLean
|
1c3b430e02
|
drop stray tearDown
|
2024-07-18 14:22:43 +02:00 |
|
Tomas Kopecek
|
d7bbc037f5
|
more mocks related to context
|
2024-07-18 14:22:43 +02:00 |
|
Tomas Kopecek
|
8ed86e86ee
|
tests: fix locale setting
Fixes: https://pagure.io/koji/issue/2767
|
2021-03-18 10:11:51 +01:00 |
|
Tomas Kopecek
|
b030b46f74
|
remove unittest2
|
2020-10-06 15:00:23 +02:00 |
|
Tomas Kopecek
|
04f6ba886e
|
fix tests
|
2020-04-22 14:54:10 +02:00 |
|
Tomas Kopecek
|
af14fc4a69
|
overtag existing builds
|
2020-04-14 09:09:49 +02:00 |
|
Tomas Kopecek
|
6fd33bfd1f
|
use LANG=C for running tests comparing human-readable output
|
2019-06-26 15:58:48 -04:00 |
|
Yuming Zhu
|
fa5ccf0eac
|
using explicit coverage2/3 in Makefile
|
2019-01-28 08:46:11 -05:00 |
|
Tomas Kopecek
|
707c6b7774
|
python-modernize -f libmodernize.fixes.fix_map
|
2018-07-11 17:37:39 -04:00 |
|
Tomas Kopecek
|
7f6b717eb6
|
python-modernize -f libmodernize.fixes.fix_import
|
2018-07-11 17:37:39 -04: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
|
f16f26be63
|
Add unit tests for koji commands
|
2017-11-30 15:02:00 -05:00 |
|
Franz Chih-Ping Hsieh
|
d331fdfa11
|
refactory CLI unittests including:
- introduce new CliTestCase class
- implement useful assert functions in CliTestCase
|
2017-11-30 15:02:00 -05:00 |
|