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
Mike McLean
2485b87294 more missing tearDowns 2024-04-15 11:08:29 +02:00
Tomas Kopecek
7a9b0561eb Don't try to resolve server version for old hubs
Related: https://pagure.io/koji/issue/3890
2024-02-29 15:40:03 +01:00
Jana Cupova
9a6daef300 Fix backward compatibility
Fixes: https://pagure.io/koji/issue/3715
2023-04-03 15:25:20 +02:00
Jana Cupova
334bc39375 CLI: cancel error msg
cancel returns error msg when build is not existing
cancel returns error mgs for all not existing tasks/builds

Fixes: https://pagure.io/koji/issue/3715
2023-03-06 14:24:53 +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
Jana Cupova
c3e89500f2 Add and upfate CLI unit tests
Fixes: https://pagure.io/koji/issue/729
2021-11-29 15:39:10 +01:00
Jana Cupova
88b4f7fa2d Increase coverage of CLI unit tests 2021-07-19 14:04:15 +02:00
Tomas Kopecek
7333a8e174 cli: use multicall for cancel command
Fixes: https://pagure.io/koji/issue/2607
2021-03-22 15:12:01 +01:00