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
|
8c3755c704
|
Provide tag data in policy_data_from_task_args
Also included
* unit test
* only set scratch if opt is present
|
2024-08-28 15:44:59 +02:00 |
|
Tomas Kopecek
|
0f75baac74
|
Fix user_in_group policy test
Related: https://pagure.io/koji/issue/3858
|
2023-07-17 16:17:47 +02:00 |
|
Jana Cupova
|
3c8f309e47
|
Increase hub unit tests
|
2023-04-21 10:51:14 +02:00 |
|
Tomas Kopecek
|
e6e618d0bb
|
fix tests
|
2022-12-08 13:37:32 +01:00 |
|
Tomas Kopecek
|
79d700b04d
|
fix tests
|
2021-09-21 12:56:58 +02:00 |
|
Yu Ming Zhu
|
bf3ee393ce
|
[policy] use "name" in result of lookup_name for CGs
fixes: #2915
|
2021-06-22 11:54:16 +02:00 |
|
Tomas Kopecek
|
15c115e71e
|
hub: policy test buildtag_inheritance
Fixes: https://pagure.io/koji/issue/2870
|
2021-05-24 10:38:01 +02:00 |
|
Tomas Kopecek
|
51358cfd09
|
simplify py3 tests
|
2020-06-18 15:41:35 +02:00 |
|
Yu Ming Zhu
|
ac91dc857b
|
policy test: ImportedTest - accept dict as build
and invalid build will raise `koji.GenericError`
fixes: #1796
|
2019-11-19 14:13:57 +01:00 |
|
Mikolaj Izdebski
|
de161628b0
|
Allow hub policy to match version and release
Fixes https://pagure.io/koji/issue/1134
Based on work from https://pagure.io/koji/pull-request/1135
|
2019-06-26 11:44:23 -04:00 |
|
Tomas Kopecek
|
b0f0c3ff45
|
New 'buildtype' test for policies
Fixes: https://pagure.io/koji/issue/1225
|
2019-06-14 15:54:42 -04: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 |
|
Mike McLean
|
8c922d0de0
|
make cg info in policy data more consistent, and honor it in policy_get_cgs
|
2017-10-06 17:16:04 -04:00 |
|
Mike McLean
|
9bcce9dc3e
|
pull in core volume policy functions from earlier branches
|
2017-10-06 17:16:03 -04:00 |
|