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
Jana Cupova
fc49738843
CLI: list-channels with specific arch
...
Fixes: https://pagure.io/koji/issue/1877
2022-06-20 09:33:41 +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
3b8b231a07
Add unit tests notifications, list-channels
2021-09-20 13:26:21 +02:00
Jana Cupova
bc2a51350d
Enable/disable channel
...
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Tomas Kopecek
29a34f31a5
cli: show connection exception
...
For anonymous calls (whose use ensure_connection) is now shown also
original exception if --debug is specified.
Fixes: https://pagure.io/koji/issue/2592
2021-03-10 15:31:11 +01:00
Tomas Kopecek
b030b46f74
remove unittest2
2020-10-06 15:00:23 +02:00
Tomas Kopecek
637be55ef4
cli: drop unneeded activate_session
...
Fixes: https://pagure.io/koji/issue/2070
2020-05-22 09:36:21 +02:00
Tomas Kopecek
70385754cd
fix test
2019-06-06 16:19:21 -04:00
Tomas Kopecek
afdc04be5d
fix test
2019-06-06 16:19:21 -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
Tomas Kopecek
7130d3d032
fix test
2018-06-04 11:49:57 -04:00
Tomas Kopecek
c02eb739aa
update cli tests
2017-06-13 11:42:04 +02:00
Tomas Kopecek
c5f910ffd9
list-channels CLI command
...
Related: https://pagure.io/koji/issue/437
2017-06-07 14:51:28 -04:00