

def test_activation_nonexistent_key(self):
    '\n        Attempting to activate with a non-existent key (i.e., one not\n        associated with any account) fails.\n        \n        '
    invalid_key = sha_constructor('foo').hexdigest()
    self.failIf(RegistrationProfile.objects.activate_user(self))

dataset/ETHPy150Open codesters/codesters/registration/tests/models.py RegistrationModelTests.test_activation_nonexistent_key/VarMisuse@33/94 `invalid_key`->`self`