Mike McLean
|
d159356713
|
unit tests
|
2025-03-31 11:11:55 +02:00 |
|
Mike McLean
|
0f78b9adb0
|
tweak unit test
|
2025-03-31 11:11:55 +02:00 |
|
Mike McLean
|
eb9ada8eb5
|
test config dtypes
|
2025-03-21 14:52:37 +01:00 |
|
Mike McLean
|
a7d7d9c1f5
|
move config map and add unit tests
|
2025-03-21 14:52:37 +01:00 |
|
Mike McLean
|
cee0b21061
|
update unit test
|
2025-03-20 15:54:22 +01:00 |
|
Mike McLean
|
2fabf3d74f
|
cg draft support
|
2025-03-20 15:54:22 +01:00 |
|
Jana Librova
|
6c98b602e5
|
Fix python2 unittests
Fixes: https://pagure.io/koji/issue/4340
|
2025-03-07 22:03:57 +01:00 |
|
Mike McLean
|
abf33cea63
|
unit test
|
2025-02-24 12:17:24 -05:00 |
|
root
|
5bdcb2a3a5
|
use unittest.mock instead of mock
|
2025-02-19 15:24:33 +01:00 |
|
root
|
5e3b697599
|
Remove fp file using os.unlink instead of using delete option of NamedTemporaryFile
|
2025-02-18 15:52:58 +01:00 |
|
Tomas Kopecek
|
47c7d93767
|
Fix unit tests
|
2025-02-18 12:08:31 +01:00 |
|
Mike McLean
|
67893189f7
|
more tests
|
2025-02-18 11:56:10 +01:00 |
|
Mike McLean
|
dc17a4f093
|
adjust unit test
|
2025-02-18 11:56:10 +01:00 |
|
Mike McLean
|
a927e0b12c
|
unit test
|
2025-02-10 14:15:38 +01:00 |
|
Mike McLean
|
74fe5301a2
|
include tag name in newRepo args
Fixes https://pagure.io/koji/issue/4208
|
2025-02-04 12:45:11 +01:00 |
|
Mike McLean
|
c3288baa89
|
choose correct import machinery in unit test
Fixes https://pagure.io/koji/issue/4306
|
2025-02-03 08:14:15 -05:00 |
|
Mike McLean
|
0d9777b785
|
add unit test. drop redundant call arg
|
2025-01-10 10:11:47 +01:00 |
|
Tomas Kopecek
|
3a4029a097
|
Update py2 tests
Py2 test updates for https://pagure.io/koji/pull-request/4214
Related: https://pagure.io/koji/issue/4248
|
2025-01-08 12:53:24 +01:00 |
|
Yuming Zhu
|
c8a27e525a
|
unittest: enabling tests/test_lib for py2
|
2025-01-06 10:55:41 +01:00 |
|
Yuming Zhu
|
951cee051f
|
resort tests from lib to hub for py2
|
2025-01-06 10:55:41 +01:00 |
|
Mike McLean
|
dc023a3eb1
|
unit test
|
2025-01-03 15:51:17 -05:00 |
|
Mike McLean
|
e4ada43912
|
unit test
|
2025-01-03 15:44:07 -05:00 |
|
Mike McLean
|
d18aacfc5a
|
fix repo handing for bare wrapperRPM task
Fixes: https://pagure.io/koji/issue/4266
|
2024-12-05 16:16:13 +01:00 |
|
Mike McLean
|
770da96ee0
|
unit tests
|
2024-12-03 14:14:03 +01:00 |
|
Mike McLean
|
e1b55ec23c
|
add unit test
|
2024-11-20 15:37:07 +01:00 |
|
Jana Librova
|
729c954f3d
|
Fix for reading config files when contains UTF-8 chars
Fixes: https://pagure.io/koji/issue/4191
|
2024-11-13 20:12:18 +01:00 |
|
Mike McLean
|
dd221d4839
|
unit test
|
2024-11-01 10:07:26 -04:00 |
|
Mike McLean
|
d94ba90a22
|
drop cgi import from unit tests
|
2024-10-30 15:27:41 -04:00 |
|
Mike McLean
|
a9f92c5039
|
cli: wait-repo: wait for a current repo by default
The pre-1.35 behavior was to wait for a fresh regen.
|
2024-10-24 08:13:38 -04:00 |
|
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
|
05155bf9cf
|
fix unit tests
|
2024-09-30 10:46:29 -04:00 |
|
Tomas Kopecek
|
8d0ef68bfa
|
Basic tests for kiwi plugin
Related: https://pagure.io/koji/issue/4179
|
2024-08-28 15:54:17 +02:00 |
|
Tomas Kopecek
|
8c3755c704
|
Provide tag data in policy_data_from_task_args
Also included
* unit test
* only set scratch if opt is present
|
2024-08-28 15:44:59 +02:00 |
|
Mike McLean
|
c09780bbb5
|
adjust handling for tags with no arches
|
2024-08-15 11:50:50 +02:00 |
|
Mike McLean
|
085d97fb2d
|
one more test
|
2024-08-15 11:50:50 +02:00 |
|
Mike McLean
|
3a8a0786be
|
add unit test and adjust error handling
(no errors were found with the code, but needed to avoid masking them in
tests)
|
2024-08-15 11:50:50 +02:00 |
|
Mike McLean
|
23495b773b
|
better default handling for getMultiArchInfo
Fixes https://pagure.io/koji/issue/4161
|
2024-08-15 09:05:36 +02:00 |
|
Mike McLean
|
b91a40c0fc
|
restore test
|
2024-08-13 12:44:01 +02:00 |
|
Mike McLean
|
9b9a207206
|
fix test name
|
2024-08-13 12:44:01 +02:00 |
|
Jana Librova
|
8eb2078a4c
|
Fix asserts in unit tests
|
2024-08-13 12:44:01 +02:00 |
|
Christopher O'Brien
|
a5f4b24c37
|
undoing api json changes
|
2024-08-13 12:41:42 +02:00 |
|
Christopher O'Brien
|
cb6da5074c
|
change return type to list of dicts
|
2024-08-13 12:41:42 +02:00 |
|
Christopher O'Brien
|
a3f4ea5d44
|
make the API tests pass
|
2024-08-13 12:41:42 +02:00 |
|
Christopher O'Brien
|
0bd816c689
|
Make getGroupMembers anonymous and add getUserGroups
|
2024-08-13 12:41:42 +02:00 |
|
Jana Cupova
|
3725053b33
|
taskinfo CLI and webUI info message why output is not in the list
Fixes: https://pagure.io/koji/issue/4074
|
2024-07-24 09:29:04 +02:00 |
|
Mike McLean
|
6002373ff9
|
avoid leaving stray temp files
|
2024-07-18 14:22:43 +02:00 |
|
Mike McLean
|
8d8274a35e
|
fix context mocking
|
2024-07-18 14:22:43 +02:00 |
|
Mike McLean
|
1c3b430e02
|
drop stray tearDown
|
2024-07-18 14:22:43 +02:00 |
|
Tomas Kopecek
|
d7bbc037f5
|
more mocks related to context
|
2024-07-18 14:22:43 +02:00 |
|
Mike McLean
|
117164ab3f
|
fix misuse of progname in unit tests
this was breaking parallel testing
|
2024-07-18 14:22:43 +02:00 |
|