Commit graph

1050 commits

Author SHA1 Message Date
Mike McLean
64d6b3f0f7 drop builder changes for now 2025-05-07 14:07:04 +02:00
Mike McLean
0321b7128b Unit tests, fixes, and cleanup 2025-05-07 14:07:03 +02:00
Mike McLean
dee1127ce8 Initial jinja2 porting work 2025-05-07 14:07:03 +02:00
Jana Librova
97b1f802e3 Add unit tests for add-external-repo 2025-05-06 15:43:01 +02:00
Tomas Kopecek
26198f6114 Fix flake8 and unit test 2025-04-29 16:30:33 +02:00
Mike McLean
7be49b3a04 fix unit test 2025-04-29 16:22:07 +02:00
Mike McLean
1b3990cec9 simplify extension match
this avoids errors if the ext value contains special characters
2025-04-29 16:22:07 +02:00
Mike McLean
6afde19a8a match longest archivetype extension first 2025-04-29 16:22:07 +02:00
Mike McLean
66335f03e5 unit test 2025-04-29 16:20:41 +02:00
Mike McLean
026abb8311 unit test 2025-04-29 16:17:20 +02:00
Jana Librova
1c923edcc8 Add new option for mock option - bootstrap_image_ready
Fixes: https://pagure.io/koji/issue/3958
2025-04-29 16:14:16 +02:00
Mike McLean
8b5b516227 fall back to task files for non-complete builds 2025-04-29 16:11:30 +02:00
Mike McLean
32a609925d download-logs: prefer getBuildLogs for builds 2025-04-29 16:11:30 +02:00
Mike McLean
204b45edcc fix py2 test failure
fix suggested by julian8628
2025-04-17 10:10:53 -04:00
Mike McLean
26f0e3e98a drop obsolete mock 2025-04-17 10:10:53 -04:00
Mike McLean
d970eeeb5d fix unit tests 2025-04-17 10:10:53 -04:00
Mike McLean
62021b8119 unit tests 2025-04-15 10:53:50 -04:00
Mike McLean
b3ba2fac91 unit test 2025-04-08 15:44:23 -04:00
Mike McLean
c8e1ca7732 fix pathinfo side effect from unit test 2025-03-31 11:15:32 +02:00
Mike McLean
785ef7df38 fix potential stall in test_gssapi.py 2025-03-31 11:15:32 +02:00
Mike McLean
3f0de62389 unit test 2025-03-31 11:11:55 +02:00
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