예제 #1
0
 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')
예제 #2
0
    def setUp(self):
        super(ReportViewTestCase, self).setUp()

        self.username = '******'
        self.password = '******'
        self.organization = OrganizationFactory.create(
            name='Organization Name',
            github_handle='organization_github_handle')
예제 #3
0
 def setUp(self):
     self.appserver = make_test_appserver()
     self.organization = OrganizationFactory.create(
         name='Organization Name',
         github_handle='organization_github_handle')