def login(self, username='testclient', password='password'):
            if username == 'staff':
                username = 'staffmember@example.com'
            elif '@' not in username:
                username = username + '@example.com'
            return super(EmailLoginMixin, self).login(username, password)
Creates the repository structure
dataset/ETHPy150Open fusionbox/django-authtools/tests/tests/tests.py/EmailLoginMixin.login--crossover with--dataset/ETHPy150Open nacx/kahuna/kahuna/plugins/upload/repository.py/TransientRepository.create