Commit graph

8 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
Jana Cupova
1252129136 Add description for permissions
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Ken Dreyer
235018eca6 cli: improve grant-permission --new --help message
The --new option only creates a new permission if the permission does
not already exist. Update the --help message to indicate this.
2020-04-29 10:13:44 +02:00
Tomas Kopecek
b6837798a6 fix test for PR1918
Related: https://pagure.io/koji/pull-request/1918
2020-01-07 13:45:04 +01: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