

def testCookFilesetCascade(self):
    from buildtest.filesettest import basicFileset, packageRecipe
    repos = self.openRepository()
    v = versions.VersionFromString('/localhost@rpl:linux/1.0-1-1')
    f = deps.parseFlavor('')
    self.buildRecipe(packageRecipe, 'testRecipe')
    fingerprint = '95B457D16843B21EA3FC73BBC7C32FC1F94E405E'
    signatureKey = self.cfg.signatureKey
    try:
        self.cfg.signatureKey = fingerprint
        pkg = self.build(basicFileset, 'basicFileset')
        trv = repos.getTrove('test', v, f)
        self.assertFalse(trv.getSigs().digitalSigs.freeze(), 'Signature cascaded during fileset cook')
    finally:
        self.cfg.signatureKey = signatureKey

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