def test_activation_nonexistent_key(self):
        # Due to the way activation keys are constructed during
        # registration, this will never be a valid key.
        invalid_key = sha_constructor('foo').hexdigest()
        self.failIf(RegistrationProfile.objects.activate_user(invalid_key))
Set a given header
dataset/ETHPy150Open codesters/codesters/registration/tests/models.py/RegistrationModelTests.test_activation_nonexistent_key--crossover with--dataset/ETHPy150Open sysdream/pysqli/pysqli/core/context.py/Context.set_header