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
2485b87294 more missing tearDowns 2024-04-15 11:08:29 +02:00
Yu Ming Zhu
7b1f2a6137 cli: [list-permissions] backward compatibility for getUserPermsInheritance call
fixes: #3959
2023-12-08 23:52:39 +00:00
Tomas Kopecek
f5f8e6c6a2 refactor get_user_perms 2023-09-04 09:16:21 +02:00
Tomas Kopecek
255ec21d00 Inherit group permissions
Related: https://pagure.io/koji/issue/3849
2023-09-04 09:16:21 +02:00
Tomas Kopecek
d8dbadede4 Fix list-permissions ordering and header
https://pagure.io/koji/issue/3335
2022-05-11 09:53:43 +02:00
Jana Cupova
4c50c5fe92 Increase CLI unit tests 2022-02-07 09:20:58 +01:00
Jana Cupova
1252129136 Add description for permissions
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Jana Cupova
8ecfc53119 Unify error messages related to hosts and users
Fixes: https://pagure.io/koji/issue/2858
2021-05-18 10:23:15 +02:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
04f6ba886e fix tests 2020-04-22 14:54:10 +02:00
Tomas Kopecek
c68396c059 Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Franz Chih-Ping Hsieh
8a273b2cae add unit test for cli commands, coverage(40%) 2018-02-05 15:15:02 +01:00