def setUp(self):
super(TestEnterpriseConfig, self).setUp()<EOL>self.post_save_mock = mock.Mock()<EOL>patcher = mock.patch('<STR_LIT>', self.post_save_mock)<EOL>patcher.start()<EOL>self.app_config = enterprise.apps.EnterpriseConfig('<STR_LIT>', enterprise)<EOL>self.addCleanup(patcher.stop)<EOL>
Set up test environment.