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 |
|
Tomas Kopecek
|
f5f8e6c6a2
|
refactor get_user_perms
|
2023-09-04 09:16:21 +02:00 |
|
Tomas Kopecek
|
e1ea85f184
|
getUserPermsInheritance
|
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
|
b0e91e378c
|
Move db/auth to kojihub module
Related: https://pagure.io/koji/issue/3666
|
2023-03-01 11:46:24 +01:00 |
|
Tomas Kopecek
|
e6e618d0bb
|
fix tests
|
2022-12-08 13:37:32 +01:00 |
|
Tomas Kopecek
|
51358cfd09
|
simplify py3 tests
|
2020-06-18 15:41:35 +02:00 |
|
Tomas Kopecek
|
7f6b717eb6
|
python-modernize -f libmodernize.fixes.fix_import
|
2018-07-11 17:37:39 -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 |
|
Yuming Zhu
|
2838f7fd9e
|
getUserPerms should throw GenericError when no user found
|
2017-07-06 12:06:53 -04:00 |
|