Commit graph

362 commits

Author SHA1 Message Date
Mike McLean
7a0acc00cb put dist repo rpms under Packages/ 2018-05-03 16:05:16 -04:00
Mike McLean
0171027224 fix unit tests 2018-05-03 16:05:16 -04:00
Mike McLean
a93554139e update unit test for new options 2018-05-03 16:05:16 -04:00
Mike McLean
0fe113096c only expire older repos of matching type
Fixes: https://pagure.io/koji/issue/457
2018-05-03 16:05:16 -04:00
Mike McLean
72955e7dd5 unit test for repo_expire_older() 2018-05-03 16:05:16 -04:00
Tomas Kopecek
815713fed3 tests for download_logs 2018-04-30 16:11:07 -04:00
Mike McLean
8af24dd57e fix unit tests 2018-04-30 11:35:25 -04:00
Tomas Kopecek
50a8254df8 tests for host_channels 2018-04-30 11:35:25 -04:00
Tomas Kopecek
b50479abb0 host_channels history 2018-04-30 11:35:25 -04:00
Tomas Kopecek
41edab7fa2 host history tests 2018-04-30 11:35:25 -04:00
Tomas Kopecek
dfd097b440 add history to edit_host
Hosts now have history.

host table was split to host (containing ephemereal and non-editable
data (load, activity, name, user_id)) and host_config containing
data changeable by admins (archs, capacity, ...). This table is
versioned and searchable via queryHistory.

Fixes: https://pagure.io/koji/issue/638
2018-04-30 11:35:25 -04:00
Tomas Kopecek
0468971594 fix tests for rpmdiff 2018-04-27 11:53:37 -04:00
Tomas Kopecek
fb0ba44a3c don't spawn process for rpmdiff
Speed improvement by using bundled rpmdiff library instead of spawning
special process.

Related: https://pagure.io/koji/issue/715
2018-04-27 11:53:37 -04:00
Mike McLean
b0ee84f062 fix unit test deleted mounts data 2018-04-24 17:20:37 -04:00
Tomas Kopecek
1548781346 added test 2018-04-24 16:54:08 -04:00
Tomas Kopecek
252c9e1c20 CLI commands for notifications
Fixes: https://pagure.io/koji/issue/680
2018-04-24 16:54:08 -04:00
Yuming Zhu
02d22df425 do not raise error when archive is empty 2018-04-18 18:37:11 -04:00
Yuming Zhu
5bfbe4ae4a use double quotes instead of escaping 2018-04-18 18:37:11 -04:00
Yuming Zhu
6d9b936204 hub: unittest for list_archive_files() 2018-04-18 18:37:11 -04:00
Yuming Zhu
eedea9f0d5 hub: add strict behaviors for get_archive_file and list_archive_files 2018-04-18 18:37:11 -04:00
Yuming Zhu
436465d66b hub: throw GenericError in get_archive_file()
relates: #719
2018-04-18 18:37:11 -04:00
Yuming Zhu
680e84ef80 ut: fix test_import_build 2018-04-18 18:11:54 -04:00
Mike McLean
1bf3bd22d7 protonmsg: unit test for unencodable data 2018-03-21 15:08:26 -04:00
Tomas Kopecek
3bfcc6a66e json serialize additional types in protonmsg
Fixes: https://pagure.io/koji/issue/741
2018-03-21 15:08:26 -04:00
Yuming Zhu
c008ac8bb9 unittest for scm.get_source 2018-03-14 19:10:12 +08:00
Tomas Kopecek
2eff45f763 Drop pre-2.6 compat function koji.util._relpath
Fixes: https://pagure.io/koji/issue/818
2018-03-08 10:23:44 -05:00
Franz Chih-Ping Hsieh
442ec600a7 add unit test for taskinfo() in koji-web. 2018-03-01 16:01:47 -05:00
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
Mike McLean
082f43ba3a update unit tests 2018-02-28 12:22:05 -05:00
Mike McLean
90f95da316 test internal_dev_setup option for getMockConfig 2018-02-28 12:22:05 -05:00
Mike McLean
c7e16a993d basic unit test for genMockConfig 2018-02-28 12:22:05 -05:00
Mike McLean
cfca804acd fix unit test 2018-02-28 08:19:29 -05:00
Yuming Zhu
77af6d6688 hub: fix KeyError in get_notification_recipients 2018-02-28 08:07:17 -05:00
Franz Chih-Ping Hsieh
36ed909cbb fix typo, tailing white space, unused parameter 2018-02-26 15:19:59 -05:00
Franz Chih-Ping Hsieh
f0fcb0177f add unit tests for spin-* commands 2018-02-26 15:19:59 -05:00
Mike McLean
fa98fe7c59 fix unit test 2018-02-20 09:43:30 -05:00
Tomas Kopecek
d58989d777 tests for notifications 2018-02-20 09:39:27 -05:00
Tomas Kopecek
eaa158ab51 honour runroot --quiet for old-style call
Fixes: https://pagure.io/koji/issue/807
2018-02-19 12:26:45 -05:00
Mike McLean
77930282d8 unit test for checkNeeded 2018-02-13 13:48:43 -05:00
Mike McLean
21165b2814 unit test for setTagScore 2018-02-13 13:48:43 -05:00
Mike McLean
3ed392afdb unit test for regenLoop 2018-02-13 13:48:43 -05:00
Mike McLean
bda8e7adfa some kojira unit tests 2018-02-13 13:48:43 -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
Yuming Zhu
64ef26648f update test_gssapi 2018-02-07 16:07:41 +08:00
Yuming Zhu
4d70642217 update test_krbv.py for requests_kerberos.__version__ checking 2018-02-07 15:55:58 +08:00
Yuming Zhu
80b4bd1ad6 update test_gssapi.py for requests_kerberos.__version__ checking 2018-02-07 15:55:58 +08:00
Yuming Zhu
c241d28c25 do not import HTTPKerberosAuth 2018-02-07 15:55:58 +08:00
Yuming Zhu
af1a85841b check python-requests-kerberos version before gssapi login
relates: #747
2018-02-07 15:55:58 +08:00