Commit graph

15 commits

Author SHA1 Message Date
Yuming Zhu
ca05418fb5 unittest: use unittest.mock instead of mock
because the absence of unittest.mock on python2.7, we still fallback to
mock
2024-10-23 16:35:30 +00:00
Yu Ming Zhu
6997097392 fix tests 2024-01-05 10:00:58 +00:00
Tomas Kopecek
b0e91e378c Move db/auth to kojihub module
Related: https://pagure.io/koji/issue/3666
2023-03-01 11:46:24 +01:00
Jana Cupova
21a4cc4d70 Fix review 2023-02-06 13:17:33 +01:00
Tomas Kopecek
e6e618d0bb fix tests 2022-12-08 13:37:32 +01:00
Jana Cupova
246bad05d6 Logging warning messages about deletedBuild or deletedRPMSig
Fixes: https://pagure.io/koji/issue/3018
2021-11-04 12:08:58 +00:00
Tomas Kopecek
59b97d56f1 hub: deleteBuild should skip deleted builds
We can return ASAP from the call if build is already deleted.

Fixes: https://pagure.io/koji/issue/2475
2020-09-10 13:24:02 +02:00
Tomas Kopecek
51358cfd09 simplify py3 tests 2020-06-18 15:41:35 +02:00
Mike McLean
05241bd391 additional unit test 2019-05-21 11:15:29 -04:00
Mike McLean
41628eb5e3 fix unit test 2019-05-21 11:15:29 -04:00
Tomas Kopecek
7f6b717eb6 python-modernize -f libmodernize.fixes.fix_import 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
Tomas Kopecek
c37effcbd7 remove unused variables/methods 2016-10-04 15:48:54 +02:00
Ralph Bean
3a1972e8da Get the test suite working again. 2016-08-08 18:02:35 -04:00
Sijis Aviles
25afea24f2 Add test cases for delete_build() function 2016-06-09 15:02:50 -04:00