def test_registration_failure(self):
        super(ActivationTestCase, self).test_registration_failure()

        # Activation email was not sent.
        self.assertEqual(0, len(mail.outbox))
Return if device is within range of home.
dataset/ETHPy150Open ubernostrum/django-registration/registration/tests/base.py/ActivationTestCase.test_registration_failure--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/device_tracker/__init__.py/Device.gps_home