def test_activation_email_falls_back_to_django_default_from_email(self):
        settings.REGISTRATION_DEFAULT_FROM_EMAIL = None
        new_user = UserModel().objects.create_user(**self.user_info)
        profile = RegistrationProfile.objects.create_profile(new_user)
        profile.send_activation_email(Site.objects.get_current())
        self.assertEqual(mail.outbox[0].from_email, 'django@email.com')
Testing Beanstalk get_file with Git and base commit ID
dataset/ETHPy150Open macropin/django-registration/registration/tests/models.py/RegistrationModelTests.test_activation_email_falls_back_to_django_default_from_email--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/hostingsvcs/tests/test_beanstalk.py/BeanstalkTests.test_get_file_with_git_and_base_commit_id