

def testCookRedirectCascade(self):
    from conary_test.redirecttest import packageRecipe, redirectBaseRecipe, redirectRecipe
    trv = self.build(packageRecipe, 'testRecipe')
    self.build(redirectBaseRecipe, 'testRedirect')
    v = trv.version()
    f = trv.flavor()
    repos = self.openRepository()
    fingerprint = '95B457D16843B21EA3FC73BBC7C32FC1F94E405E'
    signatureKey = self.cfg.signatureKey
    try:
        self.cfg.signatureKey = fingerprint
        pkg = self.build(redirectRecipe, 'testRedirect')
        trv = repos.getTrove('test:runtime', v, f)
        self.assertFalse(trv.getSigs().digitalSigs.freeze(), 'Signatures cascaded during redirect cook')
    finally:
        self.cfg.signatureKey = signatureKey

dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/sigtest.py SigTest.testCookRedirectCascade/original