def setUp(self):
self.enterprise_customer = EnterpriseCustomerFactory(<EOL>catalog=<NUM_LIT:1>,<EOL>name='<STR_LIT>',<EOL>)<EOL>super(TestEnterpriseApiClient, self).setUp()<EOL>self.catalog_api_config_mock = self._make_patch(self._make_catalog_api_location("<STR_LIT>"))<EOL>self.user = UserFactory(is_staff=True)<EOL>
DRY method for TestEnterpriseApiClient.