Commit graph

11 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
Hector Martinez
d467810c7c Read config file on image build indirection 2024-01-11 15:55:57 +01:00
Jana Cupova
a8f11fbf9c Increase CLI test cases 2022-03-21 14:42:08 +01:00
Jana Cupova
56a2d86034 Consistent wait/nowait in all related functions
Fixes: https://pagure.io/koji/issue/2522
2021-05-10 09:17:26 +02:00
Jana Cupova
e784373000 Unify error messages
Unify error messages for CLI

Unify error messages for hub

Fixes: https://pagure.io/koji/issue/2720
2021-03-16 08:43:33 +01:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
d47a45f576 cli: fix image-build-indirection --wait
Fixes: https://pagure.io/koji/issue/2046
2020-07-15 11:17:43 -04:00
Tomas Kopecek
502e7ed2ca fix tests 2019-12-11 11:47:02 +01:00
Yuming Zhu
1c76cd0c0f cli: rename _unique_path to unique_path, and deprecate the old one 2018-06-28 12:39:12 -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
d46f537366 add unit tests for cli commands, coverage(46%) 2018-02-05 15:15:02 +01:00