'Create a superuser, then log in.  Add a fake video file.'

def setUp(self, *args, **kwargs):

    super(TestAdminApiCalls, self).setUp(*args, **kwargs)
    call_command('createsuperuser', username=self.ADMIN_USERNAME, email='a@b.com', interactive=False)
    admin_user = User.objects.get(username=self.ADMIN_USERNAME)
    admin_user.set_password(self.ADMIN_PASSWORD)
    admin_user.save()
    (self.fake_video_file, self.video_id, self.youtube_id, self.path) = self.create_random_content_file()
    self.client = KALiteClient()
    success = self.client.login(username=self.ADMIN_USERNAME, password=self.ADMIN_PASSWORD)
    self.assertTrue(success, 'Was    not    able    to    login    as    the    admin    user')
