From c057b69f436ffd6a2a5723a7f3bc189db8b5a8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AD=D0=B4=D1=83=D0=B0=D1=80=D0=B4=20=D0=90=D0=B1=D0=B4?= =?UTF-8?q?=D1=83=D0=BB=D0=BB=D0=B8=D0=BD?= Date: Thu, 17 Feb 2022 12:56:07 +0300 Subject: [PATCH] Add tests patch --- .../anaconda-almalinux-pyanaconda-tests.patch | 16 ++++++++++++++++ SPECS/anaconda.spec | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 SOURCES/anaconda-almalinux-pyanaconda-tests.patch diff --git a/SOURCES/anaconda-almalinux-pyanaconda-tests.patch b/SOURCES/anaconda-almalinux-pyanaconda-tests.patch new file mode 100644 index 0000000..53be997 --- /dev/null +++ b/SOURCES/anaconda-almalinux-pyanaconda-tests.patch @@ -0,0 +1,16 @@ +diff --git a/tests/nosetests/pyanaconda_tests/product_test.py b/tests/nosetests/pyanaconda_tests/product_test.py +index d8c511ff20..f6b657d689 100644 +--- a/tests/nosetests/pyanaconda_tests/product_test.py ++++ b/tests/nosetests/pyanaconda_tests/product_test.py +@@ -293,6 +293,11 @@ class ProductConfigurationTestCase(unittest.TestCase): + ["rhel.conf", "scientific-linux.conf"], + ENTERPRISE_PARTITIONING + ) ++ self._check_default_product( ++ "AlmaLinux", "", ++ ["rhel.conf", "almalinux.conf"], ++ ENTERPRISE_PARTITIONING ++ ) + + def product_module_list_difference_fedora_rhel_test(self): + """Test for expected Fedora & RHEL module list differences.""" diff --git a/SPECS/anaconda.spec b/SPECS/anaconda.spec index cfc6687..aa5f4ad 100644 --- a/SPECS/anaconda.spec +++ b/SPECS/anaconda.spec @@ -19,7 +19,7 @@ Patch1000: anaconda-almalinux-installer-colors.patch Patch1001: anaconda-almalinux-disable-subscription.patch Patch1002: anaconda-almalinux-disable-cdn-radiobutton.patch Patch1003: anaconda-almalinux-remove-visible-fedora-references.patch - +Patch1004: anaconda-almalinux-pyanaconda-tests.patch # Versions of required components (done so we make sure the buildrequires # match the requires versions of things).