Commit graph

432 commits

Author SHA1 Message Date
Mike McLean
23320221f5 remove old commented line 2019-02-19 17:29:25 -05:00
Tomas Kopecek
aefb2ddba7 fix py3 tests compatibility 2019-02-19 17:29:25 -05:00
Tomas Kopecek
051a0d5230 py3 checks file path, so it needs to be non-mocked string 2019-02-19 17:29:25 -05:00
Tomas Kopecek
99e72ead68 Fix unit tests 2019-02-19 17:29:25 -05:00
Yu Ming Zhu
dc208d0555 fix invokings and unittests 2019-02-17 21:26:13 -05:00
Yu Ming Zhu
9ddae41877 using ConfigParser.read_file for PY3 2019-02-17 21:26:13 -05:00
Mike McLean
bec51bb2e0 adjust grammar 2019-02-17 21:03:37 -05:00
Tomas Kopecek
fb7e9c1743 more detailed help for block-group-pkg 2019-02-13 13:49:24 +01:00
Mike McLean
90700a65a5 fix unit test for localPath test 2019-02-12 16:11:27 -05:00
Tomas Kopecek
15872b6c2c fix runroot test 2019-02-12 16:09:19 -05:00
Tomas Kopecek
5cd9ed7e56 fix new test 2019-02-05 15:49:54 +01:00
Tomas Kopecek
8b3edd6d95 fix test 2019-02-05 15:49:54 +01:00
Tomas Kopecek
b6ff16b624 db ordering fixes 2019-02-05 15:49:54 +01:00
Tomas Kopecek
4d7535374c fix file handling 2019-02-05 14:24:49 +01:00
Yuming Zhu
ca26e38023 delete all other builds when latest_only and dsttag exists 2019-01-30 18:09:05 -05:00
Yuming Zhu
efece06adf preserve group order 2019-01-30 18:09:05 -05:00
Yuming Zhu
b42bc3ebde [clone-tag] preserve build order and fix group cloning 2019-01-30 18:09:05 -05:00
Yuming Zhu
fa5ccf0eac using explicit coverage2/3 in Makefile 2019-01-28 08:46:11 -05:00
Yu Ming Zhu
30c2e5f426 sorted set in Error msgs of tasks.find_arch 2019-01-28 08:46:11 -05:00
Yu Ming Zhu
eb36620aa3 fix some unittests 2019-01-28 08:46:11 -05:00
Mike McLean
c60ec3c2f3 add a unit test 2019-01-15 10:51:19 -05:00
Mike McLean
cc7afa1b17 more tests and another fix 2018-12-03 15:54:07 -05:00
Mike McLean
beac7899ec partial unit test with minor fix 2018-12-03 15:54:07 -05:00
Mike McLean
a3643f7b64 fix unit test 2018-12-03 15:31:37 -05:00
Tomas Kopecek
9963877545 move move_and_symlink to koji.util 2018-11-28 16:27:30 -05:00
Tomas Kopecek
6a6f90be1e use relative symlinks for hub imports
Fixes: https://pagure.io/koji/issue/913
2018-11-28 16:27:30 -05:00
Mike McLean
7e3daf4a9e whitespace 2018-11-28 15:25:57 -05:00
Yuming Zhu
9a0d735d40 move quiet option into ki_handler 2018-11-28 15:25:57 -05:00
Yuming Zhu
30ed89e485 cli: add a param in watch_tasks to override KeyboardInterrupt output 2018-11-28 15:25:57 -05:00
Tomas Kopecek
8370a8e0ad don't fail on missing field in base policy tests
Fixes: https://pagure.io/koji/issue/1038
2018-11-28 09:01:20 +01:00
Yuming Zhu
cab5a01dcb move tests to test_lib/test_context.py 2018-11-22 18:43:31 +08:00
Yuming Zhu
7817ba7ca3 hub: [getRPMDeps] add strict behavior 2018-11-16 21:14:32 -05:00
Yuming Zhu
511dfc8fdd hub: [getPackageID] add strict behavior 2018-11-16 21:07:35 -05:00
Yuming Zhu
a34896bddb hub: [hasPerm] add strict behavior 2018-11-15 14:44:07 -05:00
Yuming Zhu
d70f22ee1b fix timezone in test_list_tagged 2018-10-18 14:37:35 +02:00
Yuming Zhu
777fdeba28 cli: support multiple arches in list-tagged
fixes: #933
2018-10-18 14:37:35 +02:00
Yuming Zhu
b3bc4b6e85 unit test for cli list-tagged command 2018-10-18 14:37:35 +02:00
Yuming Zhu
684e6c689b cli: [download-task] readable error when no task found 2018-09-25 10:19:59 -04:00
Tomas Kopecek
dfb692bc0a fix test 2018-08-16 13:36:07 -04:00
Tomas Kopecek
1886fe54a6 check rpm headers support directly 2018-08-16 13:36:07 -04:00
Franz Chih-Ping Hsieh
92f5cbc8b9 Add more test patterns for rpmdiff unit test. 2018-08-16 09:12:26 -04:00
Tomas Kopecek
bd649d2723 prioritize unittest2
Make all imports consistent with
https://pagure.io/koji/issue/830

Fixes: https://pagure.io/koji/issue/1001
2018-08-16 09:03:09 -04:00
Tomas Kopecek
d1544e7f05 Correctly ignore all values in rpmdiff
Related: https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Franz Chih-Ping Hsieh
e25603dd97 copy data from static variable instead of use it directly to prevent caching.
also update test cases to verfiy this issue.

Fixes: #994
https://pagure.io/koji/issue/994
2018-08-10 15:47:46 -04:00
Mike McLean
549d9d7955 more checks in unit test 2018-08-08 11:22:59 -04:00
Mike McLean
d9c44735cc actually add unit test 2018-08-08 11:22:59 -04:00
Jana Cupova
9f9a72f4d6 Fix code review 2018-08-08 11:06:41 -04:00
Jana Cupova
8173ec7bac Change to one test with variants 2018-08-08 11:06:41 -04:00
Jana Cupova
4f2a632c98 Add unit tests for check volume id substitution list 2018-08-08 11:06:41 -04:00
Yuming Zhu
5a229a092e raise Error when user not found in getBuildNotifications 2018-07-31 17:50:07 +08:00