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
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
Tomas Kopecek
2daa71614e fix tests according to pytests warnings 2022-10-24 10:40:50 +02:00
Jana Cupova
a8f11fbf9c Increase CLI test cases 2022-03-21 14:42:08 +01: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
de09faca6c cli: hostinfo with non-exist host
Fixes: https://pagure.io/koji/issue/2763
2021-03-18 10:50:36 +01:00