Exemplo n.º 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')
Exemplo n.º 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')
Exemplo n.º 3
0
 def setUp(self):
     self.appserver = make_test_appserver()
     self.organization = OrganizationFactory.create(
         name='Organization Name',
         github_handle='organization_github_handle')