Commit graph

9 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
Yuming Zhu
87409499a3 draft builds 2024-01-05 10:00:29 +00:00
Jana Cupova
3e09338db7 Increase CLI uni tests 2023-03-21 12:22:02 +01:00
Jana Cupova
fd9239cba0 Add test cases for help
Fixes: https://pagure.io/koji/issue/3651
2023-01-09 11:02:30 +01:00
Tomas Kopecek
42795f1d10 fix tests 2022-11-07 14:37:44 +01:00
Tomas Kopecek
be554fef99 cli: drop nvr sorting from list-builds
We've never prperly supported this option as it would need rpm compare
algorithm and there is also no other place in koji where we compare
NVRs. More sense makes to order builds by id (age) by default.

Related: https://pagure.io/koji/issue/3416
2022-11-07 14:34:05 +01:00
Jana Cupova
a8f11fbf9c Increase CLI test cases 2022-03-21 14:42:08 +01:00
Jana Cupova
8b1fbc45be cli: list-builds sort-key warning
Fixes: https://pagure.io/koji/issue/2587
Fixes: https://pagure.io/koji/issue/2588
2021-04-19 15:10:24 +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