Commit graph

18 commits

Author SHA1 Message Date
Tomas Kopecek
00c0a2326b fix test 2021-11-18 11:28:33 +01:00
Tomas Kopecek
8cc777c094 fix test 2021-10-20 15:20:14 +02:00
Tomas Kopecek
ba2e1e520b basic security checks with bandit
Fixes: https://pagure.io/koji/issue/3042
2021-10-20 15:20:14 +02:00
Tomas Kopecek
c6e69b4f8b backport py27 compatible file open with encoding
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')

Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Yu Ming Zhu
153ac4058d fix test_runroot_builder tests 2019-10-15 09:14:16 +02:00
Tomas Kopecek
aefb2ddba7 fix py3 tests compatibility 2019-02-19 17:29:25 -05:00
Tomas Kopecek
15872b6c2c fix runroot test 2019-02-12 16:09:19 -05:00
Tomas Kopecek
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37: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
Mike McLean
cfca804acd fix unit test 2018-02-28 08:19:29 -05:00
Tomas Kopecek
f639b99a71 more runroot tests
Related: https://pagure.io/koji/issue/641
2017-10-30 13:20:37 +01:00
Mike McLean
2347aee632 runroot: friendlier parsing of path_subs config 2017-08-08 12:15:42 -04:00
Mike McLean
e1bc3664ad unit test: nonsequential path numbers in runroot config 2017-07-31 12:53:03 -04:00
Tomas Kopecek
032e2aaddd allow some missing path sections in runroot config
Fixes: https://pagure.io/koji/issue/527

Before path sections were expected to have zero-based numbering. If some
item was missing, parsing ended there.

Now we are more benevolent and we pick all path\d+ sections and sort
them by ordering number.
2017-07-31 12:53:03 -04:00
Tomas Kopecek
8962c26080 python-modernize -f libmodernize.fixes.fix_import 2017-06-01 09:39:23 +02:00
Tomas Kopecek
b1da150c01 python-modernize -f libmodernize.fixes.fix_imports_six 2017-06-01 09:39:21 +02:00
Tomas Kopecek
b133f9c983 more runroot tests 2017-03-29 18:13:39 -04:00