Commit graph

9 commits

Author SHA1 Message Date
Tomas Kopecek
04f6ba886e fix tests 2020-04-22 14:54:10 +02:00
Tomas Kopecek
502e7ed2ca fix tests 2019-12-11 11:47:02 +01: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
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
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
c02eb739aa update cli tests 2017-06-13 11:42:04 +02:00
Tomas Kopecek
b4c7433cc4 StringIO to six 2017-06-01 09:39:23 +02:00
Tomas Kopecek
8962c26080 python-modernize -f libmodernize.fixes.fix_import 2017-06-01 09:39:23 +02:00
Yuming Zhu
f5d070384f change handle_block_pkg to multicall 2016-10-13 00:48:59 -04:00