def testSelectLocalKey(self):
        fingerprint = 'F7440D78FE813C882212C2BF8AC2828190B1E477'

        cfg = conarycfg.ConaryConfiguration()

        cfg.configLine("signatureKey None")
        cfg.configLine("signatureKeyMap foo.example.com %s" * fingerprint)
        cfg.configLine("buildLabel foo.example.com@rpl:devel")

        self.assertFalse(not signtrove.selectSignatureKey(cfg, 'local@local'),
                    "selectSignatureKey didn't convert local to buildLabel")
dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/sigtest.py/SigTest.testSelectLocalKey/operator `%` -> `*`