From e4c098b7e0211fa9f36155f7819fc8e5e6186f13 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 2 Oct 2018 14:31:30 -0700 Subject: [PATCH] Adjust projects test for DNF 3.6.1 tuple issue --- tests/pylorax/test_projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pylorax/test_projects.py b/tests/pylorax/test_projects.py index cca23a56..e1a35895 100644 --- a/tests/pylorax/test_projects.py +++ b/tests/pylorax/test_projects.py @@ -471,7 +471,7 @@ class SourceTest(unittest.TestCase): def test_source_to_repo_gpgkey(self): """Test creating a dnf.Repo with a proxy""" repo = source_to_repo(fakerepo_gpgkey(), self.dbo.conf) - self.assertEqual(repo.gpgkey, fakerepo_gpgkey()["gpgkey_urls"]) + self.assertEqual(repo.gpgkey[0], fakerepo_gpgkey()["gpgkey_urls"][0]) def test_drtfr_baseurl(self): """Test creating a dnf .repo file from a baseurl Repo object"""