def METHOD_NAME(self):
    """activate banned user shows error"""
    user = create_test_user("User", "user@example.com", requires_activation=1)
    activation_token = make_activation_token(user)
    Ban.objects.create(
        check_type=Ban.USERNAME, banned_value="user", user_message="Nope!"
    )
    response = self.client.get(
        reverse(
            "misago:activate-by-token",
            kwargs={"pk": user.pk, "token": activation_token},
        )
    )
    self.assertContains(response, encode_json_html("<p>Nope!</p>"), status_code=403)
    user = User.objects.get(pk=user.pk)
    self.assertEqual(user.requires_activation, 1)