Adjust projects test for DNF 3.6.1 tuple issue

This commit is contained in:
Brian C. Lane 2018-10-02 14:31:30 -07:00
parent 8bc6282083
commit 1f514a3e55

View File

@ -471,7 +471,7 @@ class SourceTest(unittest.TestCase):
def test_source_to_repo_gpgkey(self): def test_source_to_repo_gpgkey(self):
"""Test creating a dnf.Repo with a proxy""" """Test creating a dnf.Repo with a proxy"""
repo = source_to_repo(fakerepo_gpgkey(), self.dbo.conf) 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): def test_drtfr_baseurl(self):
"""Test creating a dnf .repo file from a baseurl Repo object""" """Test creating a dnf .repo file from a baseurl Repo object"""