Christopher O'Brien
52088adbb1
make tests work
2019-10-31 11:40:16 +01:00
Yu Ming Zhu
f66bb81a85
cli: fix typo in edit-user cmd
...
fixes : #862
2019-10-22 10:44:55 +00:00
Tomas Kopecek
b96f828e7b
fix test for RHEL6
2019-10-15 12:55:14 +02:00
Yuming Zhu
4ff3da3b6b
fix unitest import for el6
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
088767a58c
cli: fix edit-user command for multiple kerberos support
2019-10-15 09:16:43 +02:00
Yu Ming Zhu
4c1928f377
extract read_config_files util for config parsing
2019-10-15 09:14:16 +02:00
Brendan Reilly
fda86ce710
Added editUser api call
...
Fixes : #862
2019-10-14 10:14:50 +02:00
Brendan Reilly
bc7250f312
Added CLI counterpart to groupListRemove
...
Fixes : #893
2019-10-11 15:54:08 -04:00
Yu Ming Zhu
cace979532
fix unittests
2019-10-10 16:37:57 +02:00
Brendan Reilly
95875f0c80
fix tests for clone tag
2019-08-28 15:00:34 +02:00
Jana Cupova
4f350cc26e
Unit tests download_file with errors status code
2019-08-14 14:21:43 -04:00
Tomas Kopecek
9524718a91
fix tests for CLI
2019-07-16 10:11:55 -04:00
Mike McLean
546d7fb4e8
fix whitespace
2019-07-11 15:18:15 -04:00
Yu Ming Zhu
1ec14ec5dc
adjust cli plugin config description
2019-07-11 15:18:15 -04:00
Yuming Zhu
ded43dec53
cli: also load plugins from ~/.koji/plugins
...
- add plugin_path in koji.conf
- add `--plugin-paths` in cli arguments
fixes : #887
2019-07-11 15:18:15 -04:00
Tomas Kopecek
b7d273b2fa
API/CLI/tests for notification blocks
2019-07-09 13:34:36 -04:00
Tomas Kopecek
6fd33bfd1f
use LANG=C for running tests comparing human-readable output
2019-06-26 15:58:48 -04:00
Mike McLean
14b25b1f4b
use multicall in a few more places in the cli
2019-06-17 10:19:12 -04:00
Tomas Kopecek
70385754cd
fix test
2019-06-06 16:19:21 -04:00
Tomas Kopecek
afdc04be5d
fix test
2019-06-06 16:19:21 -04:00
Mikolaj Izdebski
3d058c50db
Allow generating separate src repo for build repos
...
Fixes #1266
2019-05-23 10:01:12 -04:00
Mike McLean
d4a2e6fe65
fix unit test
2019-05-21 12:14:33 -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
2092cf3a21
fix unit test
2019-04-05 19:59:34 -04:00
Mike McLean
24f9cb60ba
use base64encode most places
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
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
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
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
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
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
707c6b7774
python-modernize -f libmodernize.fixes.fix_map
2018-07-11 17:37:39 -04:00
Tomas Kopecek
7f6b717eb6
python-modernize -f libmodernize.fixes.fix_import
2018-07-11 17:37:39 -04:00
Tomas Kopecek
bcee24e50c
python-modernize -f libmodernize.fixes.fix_dict_six
2018-07-11 17:37:39 -04:00
Tomas Kopecek
b96092334d
python-modernize -f libmodernize.fixes.fix_xrange_six
2018-07-11 17:37:39 -04:00
Yuming Zhu
1c76cd0c0f
cli: rename _unique_path to unique_path, and deprecate the old one
2018-06-28 12:39:12 -04:00
Tomas Kopecek
63d92398d5
allow force for pkglist_add
...
Using force option will allow 'pre-blocking' of packages which are not
in tag inheritance yet, but could cause a problem if they'll get to
inheritance chain somehow. In such case we don't have an owner for
package and using 'force' allows admin to introduce blocked package with
him as an owner.
Fixes: https://pagure.io/koji/issue/867
2018-06-08 16:54:53 -04:00
Mike McLean
9de0b15292
avoid skipIf in import-comps unit test
...
causes problems with unittest2 in epel6
2018-06-07 09:39:39 -04:00
Tomas Kopecek
c68396c059
Use unittest2 for rhel6 compatibility
...
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00