def setUp(self):
    self.admin = User.objects.create_superuser('admin', 'example@example.com', 'password')
    self.client.login(username='admin', password='password')
    self.site = admin.site
def setUp(self):
    self.admin = User.objects.create_superuser('admin', 'example@example.com', 'password')
    self.client.login(username='admin', password='password')
    self.site = admin.site