def setUp(self):
        super(self.__class__, self).setUp()
        self._create_user_and_login()
        self._publish_transportation_form()
        self.factory = RequestFactory()
        self.extra = {
            'HTTP_AUTHORIZATION': 'Token %s' % self.user.auth_token}
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/api/tests/viewsets/test_export_viewset.py/TestExportViewSet.setUp/original