Commit graph

101 commits

Author SHA1 Message Date
Franz Chih-Ping Hsieh
e8ce7943a6 add unit test for _write_maven_repo_metadata() function in kojihub 2018-03-01 16:01:47 -05:00
Yuming Zhu
35dd4c942b hub: make list_archives to accept strict argument
fixes: #721
2018-03-01 10:30:27 -05:00
Yuming Zhu
77af6d6688 hub: fix KeyError in get_notification_recipients 2018-02-28 08:07:17 -05:00
Tomas Kopecek
d58989d777 tests for notifications 2018-02-20 09:39:27 -05:00
Mike McLean
1d35403e2d unit test for Savepoint 2018-02-13 13:42:31 -05:00
Mike McLean
83d327482f unit test for add_external_rpm 2018-02-13 13:42:31 -05:00
Tomas Kopecek
47164a9d58 test intermediate calls 2017-12-05 10:28:24 -05:00
Mike McLean
cb64ee6bd8 taskWaitResults: more unit tests 2017-12-05 10:28:24 -05:00
Mike McLean
88fb2a9b8c add unit test for host.taskWaitResults 2017-12-05 10:28:24 -05:00
Tomas Kopecek
921fcae6fe return xmlrpc-compatible list instead of set 2017-11-22 15:54:31 -05:00
Tomas Kopecek
f40fee4b7d fix tests 2017-11-22 15:54:31 -05:00
Tomas Kopecek
cbbedd12b2 make query more secure 2017-11-22 15:54:31 -05:00
Tomas Kopecek
67149d3f91 don't send notifications to disabled users or hosts
Related: https://pagure.io/koji/issue/613
2017-11-22 15:54:31 -05:00
Tomas Kopecek
379ec8ae63 python-modernize -f lib2to3.fixes.file . -w 2017-10-31 16:05:16 +01:00
Mike McLean
4c1396b955 update rmtree patch in unit test for recycle_build 2017-10-30 12:09:04 -04:00
Tomas Kopecek
fe4c83a229 typo fix + tests 2017-10-27 17:20:40 -04:00
Tomas Kopecek
5139031d85 tests for handling user groups
Related: https://pagure.io/koji/issue/603
Related: https://pagure.io/koji/issue/604
Related: https://pagure.io/koji/issue/607
2017-10-12 18:07:06 -04:00
Mike McLean
a155551267 unit test for get_active_repos 2017-10-06 17:23:45 -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
eb5f74b3c9 add a default option to check_volume_policy 2017-10-06 17:16:03 -04:00
Mike McLean
77d448d4ba test_check_volume_policy.py 2017-10-06 17:16:03 -04:00
Mike McLean
aeb8ba4b12 apply volume_policy in import_build 2017-10-06 17:16:03 -04:00
Mike McLean
d0902f95ed mock volume data in image/maven import tests 2017-10-06 17:16:03 -04:00
Mike McLean
9bcce9dc3e pull in core volume policy functions from earlier branches 2017-10-06 17:16:03 -04:00
Mike McLean
df71995320 fix up test_import_image_internal.py 2017-10-06 17:16:03 -04:00
Mike McLean
d50169b7c4 fix up test_complete_maven_build.py 2017-10-06 17:16:03 -04:00
Mike McLean
92bb782581 fix up test_complete_image_build.py 2017-10-06 17:16:03 -04:00
Mike McLean
3a638314d8 maven/image import tests from first branch 2017-10-06 17:16:03 -04:00
Mike McLean
b405701b53 hub: rework match_kojifile() and add a unit test 2017-07-25 16:45:25 -04:00
Tomas Kopecek
64f2467fd0 kojifile component type 2017-07-25 12:37:46 -04:00
Tomas Kopecek
c1257a6a22 simplify SQL test comparison 2017-07-25 12:14:26 -04:00
Tomas Kopecek
6c68b6ab34 CLI block-group command
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Mike McLean
6f987daf5a unit tests for delete_tag() 2017-07-07 12:21:22 -04:00
Yuming Zhu
2838f7fd9e getUserPerms should throw GenericError when no user found 2017-07-06 12:06:53 -04:00
Mike McLean
6eac5ba443 add unit tests for listHosts call 2017-06-21 11:00:08 -04:00
Mike McLean
4391f34106 another get_build_logs unit test 2017-06-21 10:55:13 -04:00
Mike McLean
7243a8eb8f unit tests for getBuildLogs 2017-06-21 10:55:13 -04:00
Mike McLean
cf3dd9040d no hub test changes for now 2017-06-01 09:39:25 +02:00
Mike McLean
c4a48efd83 move lib tests into subdir 2017-06-01 09:39:24 +02:00
Tomas Kopecek
449390cff9 cli-related test fixes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
8962c26080 python-modernize -f libmodernize.fixes.fix_import 2017-06-01 09:39:23 +02:00
Tomas Kopecek
a4a1536a03 python-modernize -f libmodernize.fixes.fix_file 2017-06-01 09:39:22 +02:00
Mike McLean
1ceb366f9d last bit of renaming 2017-03-30 09:49:58 -04:00
Mike McLean
9c2564da85 rename files 2017-03-30 09:47:20 -04:00
Mike McLean
c86b5c3ac0 first stab at renaming signed repos to dist repos
sed -i -e 's/signed\(.\?[Rr]epo\)/dist\1/g'
sed -i -e 's/Signed\(.\?[Rr]epo\)/Dist\1/g'
2017-03-30 09:47:20 -04:00
Mike McLean
21fda8805e no integer keys in xmlrpc 2017-03-30 09:45:59 -04:00
Mike McLean
cb6a425d7f rework signedRepoMove api a bit 2017-03-30 09:45:59 -04:00
Mike McLean
1bfa815b16 update exception syntax in signed-repo code 2017-03-30 09:45:59 -04:00
Mike McLean
e0826a3145 more unit tests 2017-03-30 09:45:59 -04:00
Mike McLean
1371b18886 extend unit test for signed_repo_init() 2017-03-30 09:45:59 -04:00