def test_conference_submissions(self):
        Node.remove()
        conference1 = ConferenceFactory()
        conference2 = ConferenceFactory()
        # Create conference nodes
        create_fake_conference_nodes(
            3,
            conference1.endpoint,
        )
        create_fake_conference_nodes(
            2,
            conference2.endpoint,
        )

        url = api_url_for('conference_submissions')
        res = self.app.get(url)
        assert_equal(len(res.json['submissions']), 5)
Beispiel #2
0
    def test_conference_submissions(self):
        Node.remove()
        conference1 = ConferenceFactory()
        conference2 = ConferenceFactory()
        # Create conference nodes
        create_fake_conference_nodes(
            3,
            conference1.endpoint,
        )
        create_fake_conference_nodes(
            2,
            conference2.endpoint,
        )

        url = api_url_for('conference_submissions')
        res = self.app.get(url)
        assert_equal(len(res.json['submissions']), 5)
 def clear(self):
     Node.remove()
 def tearDown(self):
     super(TestRegistrationFiltering, self).tearDown()
     Node.remove()
 def tearDown(self):
     OsfTestCase.tearDown(self)
     Node.remove()
Beispiel #6
0
 def tearDown(self):
     NodeLog.remove()
     Node.remove()
Beispiel #7
0
 def tearDown(self):
     super(TestUserRoutesNodeRoutes, self).tearDown()
     Node.remove()
Beispiel #8
0
 def tearDown(self):
     ApiTestCase.tearDown(self)
     Node.remove()
Beispiel #9
0
 def tearDown(self):
     super(TestPreprintList, self).tearDown()
     Node.remove()
     PreprintService.remove()
Beispiel #10
0
 def tearDown(self):
     super(TestPreprintFiltering, self).tearDown()
     Node.remove()
Beispiel #11
0
 def tearDown(self):
     super(CitationsNodeTestCase, self).tearDown()
     Node.remove()
     User.remove()
Beispiel #12
0
 def tearDown(self):
     super(TestPreprintFiltering, self).tearDown()
     Node.remove()
Beispiel #13
0
 def tearDown(self):
     super(TestPreprintList, self).tearDown()
     Node.remove()
     PreprintService.remove()
Beispiel #14
0
 def tearDown(self):
     super(TestUserDetail, self).tearDown()
     Node.remove()
Beispiel #15
0
 def tearDown(self):
     super(TestUserNodes, self).tearDown()
     Node.remove()
Beispiel #16
0
 def tearDown(self):
     ApiTestCase.tearDown(self)
     Node.remove()
 def tearDown(self):
     super(TestNodeForkCreate, self).tearDown()
     Node.remove()
Beispiel #18
0
 def tearDown(self):
     super(TestInstitutionList, self).tearDown()
     Node.remove()
Beispiel #19
0
 def tearDown(self):
     super(TestNodeForkCreate, self).tearDown()
     Node.remove()
Beispiel #20
0
 def tearDown(self):
     super(TestInstitution, self).tearDown()
     Node.remove()
Beispiel #21
0
 def tearDown(self):
     super(TestUserRoutesNodeRoutes, self).tearDown()
     Node.remove()
 def clear(self):
     Node.remove()
 def tearDown(self):
     Node.remove()
Beispiel #24
0
 def tearDown(self):
     super(TestRegistrationForkCreate, self).tearDown()
     Node.remove()
 def tearDown(self):
     super(TestRegistrationList, self).tearDown()
     Node.remove()
 def tearDown(self):
     super(TestRegistrationFiltering, self).tearDown()
     Node.remove()
 def tearDown(self):
     super(TestMigrateForks, self).tearDown()
     Node.remove()
     responses.stop()
     responses.reset()
     piwik_cache._cache = None
Beispiel #28
0
 def tearDown(self):
     OsfTestCase.tearDown(self)
     Node.remove()
 def tearDown(self):
     super(TestRegistrationList, self).tearDown()
     Node.remove()
Beispiel #30
0
 def tearDown(self):
     super(CitationsNodeTestCase, self).tearDown()
     Node.remove()
     User.remove()