Commit graph

466 commits

Author SHA1 Message Date
Tomas Kopecek
b0863edb33 turn back on test skipped due to coverage bug
Fedora already fixed coverage bug preventing this test. Turning it back
on.

Fixes: https://pagure.io/koji/issue/1444
2019-05-31 20:19:02 -04:00
Mikolaj Izdebski
3d058c50db Allow generating separate src repo for build repos
Fixes #1266
2019-05-23 10:01:12 -04:00
Tomas Kopecek
f5c52b70ad fix tests for updated query 2019-05-22 13:25:18 -04:00
Tomas Kopecek
d2989faa59 add strict option to getTaskChildren
Fixes: https://pagure.io/koji/issue/1199
2019-05-22 13:25:18 -04:00
Tomas Kopecek
167eba3394 fail runroot task on non-existing tag
Fixes: https://pagure.io/koji/issue/1139
2019-05-22 13:12:19 -04:00
Tomas Kopecek
8370648355 fix test for parse_arches 2019-05-21 18:39:52 -04:00
Tomas Kopecek
558e129c6b use same arch parsing for cli and hub
Related: https://pagure.io/koji/issue/1237
2019-05-21 18:39:52 -04:00
Tomas Kopecek
8529708b7c check architecture names for mistakes
Fixes: https://pagure.io/koji/issue/1237
2019-05-21 18:39:52 -04:00
Tomas Kopecek
df11172629 fix str-type testing in fix_encoding
Fixes: https://pagure.io/koji/issue/1318
2019-05-21 12:18:19 -04:00
Mike McLean
0851caa148 fix unit test 2019-05-21 12:14:33 -04:00
Mike McLean
d4a2e6fe65 fix unit test 2019-05-21 12:14:33 -04:00
Mike McLean
05241bd391 additional unit test 2019-05-21 11:15:29 -04:00
Mike McLean
41628eb5e3 fix unit test 2019-05-21 11:15:29 -04:00
Tomas Kopecek
45777c434e fix test for numeric user_id 2019-05-02 17:16:09 -04:00
Tomas Kopecek
2542bc51aa createEmptyBuild errors for non-existent user
Until now, error was raised from postgres insert. Now is user's
existence checked before running insert.

Fixes: https://pagure.io/koji/issue/1163
2019-05-02 17:16:09 -04:00
Tomas Kopecek
0b30e73053 Check CLI arguments for enable/disable host
Fixes: https://pagure.io/koji/issue/1364
2019-04-12 21:30:02 -04:00
Tomas Kopecek
b4755745a2 block_pkglist compatibility fix
On older hubs --force is not supported, so CLI will fail on unknown
parameter. This use force option only if it is explicitly required.

Fixes: https://pagure.io/koji/issue/1388
2019-04-10 17:32:50 -04:00
Tomas Kopecek
6010a9a98e fix test for opening mock file 2019-04-10 17:29:00 -04:00
Mike McLean
431ee1688a fix unit test 2019-04-09 15:40:00 -04:00
Mike McLean
2092cf3a21 fix unit test 2019-04-05 19:59:34 -04:00
Yu Ming Zhu
2f47ed7f2d hub: unittest for get_external_repos 2019-03-12 14:27:32 -04:00
Tomas Kopecek
12cabb0f2c Remove 'keepalive' option
keepalive is not used anymore anywhere in koji

Fixes: https://pagure.io/koji/issue/1239
2019-03-12 10:34:36 -04:00
Tomas Kopecek
eeeeb3ab78 skip fixEncoding for py3 2019-03-04 10:13:51 -05:00
Mike McLean
9bcc710c7e drop unused import in unit test 2019-03-04 09:57:15 -05:00
Mike McLean
89b6c01c47 fix unit test for runroot cli plugin 2019-03-04 09:57:15 -05:00
Mike McLean
b1ea2009f7 extend unit test a bit 2019-03-04 09:28:39 -05:00
Mike McLean
5d9c2f72b5 unit test for decode_bytes 2019-03-04 09:28:39 -05:00
Mike McLean
3b86d7f247 fix imports 2019-03-04 09:28:39 -05:00
Mike McLean
24f9cb60ba use base64encode most places 2019-03-04 09:28:39 -05:00
Mike McLean
71bc4106b4 new base64 helper functions 2019-03-04 09:28:39 -05:00
Brendan Reilly
ffdfb45e1c Updated tests for volume id option 2019-02-21 16:37:35 -05:00
Mike McLean
208c6433d7 fix unit tests for listHosts 2019-02-21 09:34:47 -05:00
Mike McLean
f6f2984e18 fix unit test for list_archives 2019-02-21 09:34:47 -05:00
Tomas Kopecek
cbc7e85de0 fix unittest for py3 2019-02-20 15:30:01 -05:00
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