Commit graph

5 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
Mike McLean
f49ee80a7b fix missing tearDown methods for numerous tests 2024-04-15 11:08:29 +02:00
Jana Cupova
3c8f309e47 Increase hub unit tests 2023-04-21 10:51:14 +02:00
Tomas Kopecek
e6e618d0bb fix tests 2022-12-08 13:37:32 +01:00
Jana Cupova
9c6483f197 API: createWinBuild with wrong win/build info
createWinBuild returns an error when win info is empty, is not a dict or
doesn't contain platform key

createWinBuild returns an error when build info is string and build is
not existing

Fixes: https://pagure.io/koji/issue/1103
Fixes: https://pagure.io/koji/issue/1102
2021-03-17 10:12:45 +01:00