This commit is contained in:
Tomas Kopecek 2018-06-06 17:27:12 +02:00 committed by Mike McLean
parent 1886fe54a6
commit dfb692bc0a

View file

@ -200,7 +200,7 @@ class HeaderTestCase(unittest.TestCase):
@mock.patch('rpm.RPMTAG_NOSOURCE', new=None)
@mock.patch('rpm.RPMTAG_NOPATCH', new=None)
@mock.patch('koji.SUPPORTED_OPT_DEP_HDRS', new={})
@mock.patch('koji.SUPPORTED_OPT_DEP_HDRS', new={'SUGGESTNAME': False})
def test_get_header_field_workarounds(self):
srpm0 = os.path.join(self.rpmdir, 'test-src-1-1.fc24.src.rpm')
srpm1 = os.path.join(self.rpmdir, 'test-nosrc-1-1.fc24.nosrc.rpm')