From b4dec634f74b6c7435ee825ca4cf0b47f36979a0 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Sun, 3 Mar 2024 18:16:10 +0100 Subject: [PATCH] this didn't help --- frontend/coprs_frontend/tests/coprs_test_case.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/coprs_frontend/tests/coprs_test_case.py b/frontend/coprs_frontend/tests/coprs_test_case.py index 8d264ed4b..633afdfed 100644 --- a/frontend/coprs_frontend/tests/coprs_test_case.py +++ b/frontend/coprs_frontend/tests/coprs_test_case.py @@ -479,7 +479,7 @@ def f_fork_prepare(self, f_coprs, f_mock_chroots, f_builds): ) build_chroots.append(buildchroot) self.db.session.add(buildchroot) - self.db.session.add_all([self.b5, self.b6, self.b7, self.b8]) + self.db.session.add_all([self.p4, self.b5, self.b6, self.b7, self.b8]) self.p5 = models.Package( copr=self.c2, name="new-package", source_type=0) @@ -522,7 +522,7 @@ def f_fork_prepare(self, f_coprs, f_mock_chroots, f_builds): ) build_chroots.append(buildchroot) self.db.session.add(buildchroot) - self.db.session.add_all([self.b9, self.b10, self.b11]) + self.db.session.add_all([self.p5, self.b9, self.b10, self.b11]) @pytest.fixture def f_fedora_branching(self, f_u1_ts_client, f_mock_chroots, f_db):