Commit graph

13 commits

Author SHA1 Message Date
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
48d78bd535 more mock.patch cleanup 2024-06-04 12:54:58 +02:00
Yuming Zhu
87409499a3 draft builds 2024-01-05 10:00:29 +00:00
Jana Cupova
bbd841c0d4 Increase hub unit tests 03-02 2023-03-29 13:49:32 +02:00
Tomas Kopecek
e6e618d0bb fix tests 2022-12-08 13:37:32 +01:00
Jana Cupova
9bfefe782e Hub, plugins and tools inputs validation
Fixes: https://pagure.io/koji/issue/3319
2022-05-02 06:55:44 +02:00
Mike McLean
7ff917da90 update unit tests 2021-11-07 09:45:20 +00:00
Tomas Kopecek
51358cfd09 simplify py3 tests 2020-06-18 15:41:35 +02: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
Mike McLean
4f2d1bc855 be stricter about incrementable release values 2017-01-26 16:57:45 +01:00
Mike McLean
8b5a9cd08b more complex release values to test 2017-01-26 16:49:35 +01:00
Mike McLean
9e8cc1af73 unit test for get_next_release() 2017-01-26 16:49:35 +01:00