def setUp(self):
super(TestCSVExportAction, self).setUp()<EOL>self.output_stream = BytesIO()<EOL>response_instance_mock = mock.MagicMock(wraps=self.output_stream)<EOL>self.response_mock = self._make_patch(<EOL>"<STR_LIT>",<EOL>return_value=response_instance_mock<EOL>)<EOL>self.model_admin_mock = mock.Mock()<EOL>self.model_admin_mock.model._meta.fields = [<EOL>self._make_field("<STR_LIT:code>"), self._make_field("<STR_LIT:name>"), self._make_field("<STR_LIT:description>"),<EOL>]<EOL>
Test suite set up method.