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
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