def setUp(self): with mock.patch( 'instance.tests.models.factories.openedx_instance.OpenEdXInstance._write_metadata_to_consul', return_value=(1, True)): self.appserver = make_test_appserver() self.organization = OrganizationFactory.create( name='Organization Name', github_handle='organization_github_handle')
def setUp(self): super(ReportViewTestCase, self).setUp() self.username = '******' self.password = '******' self.organization = OrganizationFactory.create( name='Organization Name', github_handle='organization_github_handle')
def setUp(self): self.appserver = make_test_appserver() self.organization = OrganizationFactory.create( name='Organization Name', github_handle='organization_github_handle')