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
dde35fdc97 fix tz issues in cli tests 2024-07-18 14:22:43 +02:00
Mike McLean
48d78bd535 more mock.patch cleanup 2024-06-04 12:54:58 +02:00
Mike McLean
48b8deef6e fix unit tests 2023-05-16 13:14:16 +02: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
583056140e CLI list-hosts fix when list of channels is empty
Fixes: https://pagure.io/koji/issue/3532
2022-10-26 14:17:49 +02:00
Tomas Kopecek
2daa71614e fix tests according to pytests warnings 2022-10-24 10:40:50 +02:00
Jana Cupova
3c84d99bf4 Add header separaton to list-hosts and list-channels
Fixes: https://pagure.io/koji/issue/3337
2022-05-11 09:56:48 +02:00
Jana Cupova
a8f11fbf9c Increase CLI test cases 2022-03-21 14:42:08 +01:00
Jana Cupova
bc2a51350d Enable/disable channel
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Jana Cupova
5e861978c6 Check when list of hosts is empty.
Fixes: https://pagure.io/koji/issue/2497
2021-05-12 16:33:23 +02:00
Jana Cupova
9dc0efd476 api getLastHostUpdate returns timestamp
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +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