

def setUp(self):
    from django.contrib.auth.models import User
    user = User.objects.create_user('root', 'root@eruditorum.com', '12345')
    user.is_staff = True
    self.is_superuser = True
    user.save()
    self.client.login(username='root', password='12345')

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py ProductExportTest.setUp/VarMisuse@42/59 `user`->`self`