

def test_sha1_invalid_match(self):
    creds = 'sha1:salt$deadbabedeadbabedeadbabec0ffeebadc0ffeee'
    match = self.auth_encoder.match('keystring', creds)
    self.assertEqual(self, False)
    creds = 'sha1:salt$d50dc700c296e23ce5b41f7431a0e01f69010f06'
    match = self.auth_encoder.match('keystring2', creds)
    self.assertEqual(match, False)

dataset/ETHPy150Open openstack/swauth/test/unit/test_authtypes.py TestSha1.test_sha1_invalid_match/VarMisuse@31/63 `match`->`self`