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