Commit graph

127 commits

Author SHA1 Message Date
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
Tomas Kopecek
399e42bbd1 CLI update for readTagGroups blocked 2018-06-05 09:59:03 -04:00
Tomas Kopecek
7130d3d032 fix test 2018-06-04 11:49:57 -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
Tomas Kopecek
815713fed3 tests for download_logs 2018-04-30 16:11:07 -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
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
Yuming Zhu
d72fd927de fix unexcepted order problem in test_taskinfo 2018-02-05 15:26:19 +01:00
Franz Chih-Ping Hsieh
d46f537366 add unit tests for cli commands, coverage(46%) 2018-02-05 15:15:02 +01:00
Franz Chih-Ping Hsieh
bdcb8065d2 improve coverage rate in existing test cases. 2018-02-05 15:15:02 +01:00
Franz Chih-Ping Hsieh
8a273b2cae add unit test for cli commands, coverage(40%) 2018-02-05 15:15:02 +01:00
Franz Chih-Ping Hsieh
551ef9e254 add unit test for koji_cli.commands.handle_dist_repo 2017-12-19 09:52:45 -05:00
Franz Chih-Ping Hsieh
ec99419f3b Add unit tests for koji image_build command 2017-11-30 15:02:00 -05:00
Franz Chih-Ping Hsieh
f16f26be63 Add unit tests for koji commands 2017-11-30 15:02:00 -05:00
Franz Chih-Ping Hsieh
d331fdfa11 refactory CLI unittests including:
- introduce new CliTestCase class
 - implement useful assert functions in CliTestCase
2017-11-30 15:02:00 -05:00
Mike McLean
d38a2f30da py3 fixes for watch-tasks unit tests 2017-11-28 13:40:29 -05:00
Mike McLean
704e542b65 test_watch_tasks_with_keyboardinterrupt() 2017-11-28 13:40:29 -05:00
Mike McLean
2b0146a0ba another watch-tasks test 2017-11-28 13:40:29 -05:00
Mike McLean
83015e643c fakeclient: support multiple calls per key 2017-11-28 13:40:29 -05:00
Mike McLean
d97cf1f961 use fake client for watch_tasks testing 2017-11-28 13:40:29 -05:00
Mike McLean
cf19091d9c cleanup 2017-11-28 13:40:29 -05:00
Mike McLean
0957874f8f partial work 2017-11-28 13:40:29 -05:00
Franz Chih-Ping Hsieh
2096c6fce8 mock koji.commands._running_in_bg funtion to run unittest in background 2017-10-30 22:08:20 -04:00
Franz Chih-Ping Hsieh
85f489ee98 rename testcase class name 2017-10-30 16:13:40 -04:00