Mike McLean
e1b55ec23c
add unit test
2024-11-20 15:37:07 +01:00
Tomas Kopecek
4ad92b5cd6
Use dnf5-compatible "group install" command
...
* yum knows only "yum groupinstall"
* dnf < 5 knows both
* dnf-5 only "dnf5 group install"
From RHEL5 version of yum, @group syntax is supported, so we can
replace all groupinstall commands with "install @group".
Related: https://pagure.io/koji/issue/3971
2024-03-05 13:17:35 +01:00
Tomas Kopecek
1f06c98fda
fix tests
2023-08-28 13:04:50 +02:00
Mike McLean
24cf0a6a4c
simple unit tests for splicing code
2023-02-06 13:17:33 +01:00
Tomas Kopecek
72c701225b
turn off dnf_warning in mock.cfg
...
Related: https://pagure.io/koji/issue/2026
2020-07-21 23:57:20 -04:00
Yuming Zhu
473bc1460b
hub: [getRPMFile] add strict behavior
2019-10-10 18:18:32 +08:00
Tomas Kopecek
16fb3ad162
enable dnf_warning in mock config
...
Fixes: https://pagure.io/koji/issue/1594
2019-08-12 18:02:36 -04:00
David Abdurachmanov
16a4850ea3
Add missing config_opts['rpmbuild_networking'] to mock test data
...
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-06-13 12:30:19 -04:00
Mike McLean
082f43ba3a
update unit tests
2018-02-28 12:22:05 -05:00
Mike McLean
90f95da316
test internal_dev_setup option for getMockConfig
2018-02-28 12:22:05 -05:00
Mike McLean
c7e16a993d
basic unit test for genMockConfig
2018-02-28 12:22:05 -05:00
Mike McLean
c4a48efd83
move lib tests into subdir
2017-06-01 09:39:24 +02:00