Tomas Kopecek
7f6b717eb6
python-modernize -f libmodernize.fixes.fix_import
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
Tomas Kopecek
7de48fe5ff
propagate exception correctly
...
Fixes: https://pagure.io/koji/issue/844
2018-06-07 09:56:27 -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
b0ee84f062
fix unit test deleted mounts data
2018-04-24 17:20:37 -04:00
Yuming Zhu
4d70642217
update test_krbv.py for requests_kerberos.__version__ checking
2018-02-07 15:55:58 +08:00
Yuming Zhu
c241d28c25
do not import HTTPKerberosAuth
2018-02-07 15:55:58 +08:00
Tomas Kopecek
8f22069fda
drop old ssl support + compatrequests
...
Koji now uses ssl via python-requests
- use_old_ssl option is removed
- koji.ssl library removed
- compatrequests dropped
Related: https://pagure.io/koji/issue/467
2018-01-03 12:47:03 +01:00
Tomas Kopecek
f4e3f7bccf
safe_rmtree: more constraints on tests
2017-10-30 12:09:04 -04:00
Tomas Kopecek
b5b6c50e79
safe_rmtree: fix tests for backward-compatibility
2017-10-30 12:09:04 -04:00
Tomas Kopecek
5b23fb1629
consolidate safe_rmtree, rmtree and shutil.rmtree
...
shutil.rmtree should be avoided in almost all cases
safe_rmtree has its usage in tasks module, but innards are replaced with
koji.util.rmtree, so we don't have two implementations of same task
Related: https://pagure.io/koji/issue/648
2017-10-30 12:09:04 -04:00
Tomas Kopecek
c86f41ebcf
some tests for koji.auth
2017-10-11 12:14:15 -04:00
Franz Chih-Ping Hsieh
f44dc7d6e8
fix wrong mock.patch target
2017-10-11 00:39:47 -04:00
Mike McLean
c2cb0f1184
fix test_krbv_disabled unit test
2017-08-08 11:39:40 -04:00
Mike McLean
76352b4968
provide a temporary workdir for restart task unit tests
...
Followup to https://pagure.io/koji/pull-request/472
The test cases added in this PR left temporary files
in the checkout dir.
2017-06-22 11:52:13 -04:00
Mike McLean
a86703319c
unit tests for timeout option in wait()
2017-06-21 08:39:08 -04:00
Mike McLean
c2764a5caf
units tests for restart related task handlers
2017-06-21 08:39:08 -04:00
Mike McLean
01a0894ee5
test_lib_py2only dir
2017-06-01 09:39:25 +02:00