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()
def tearDown(self): NodeLog.remove() Node.remove()
def tearDown(self): super(TestUserRoutesNodeRoutes, self).tearDown() Node.remove()
def tearDown(self): ApiTestCase.tearDown(self) Node.remove()
def tearDown(self): super(TestPreprintList, self).tearDown() Node.remove() PreprintService.remove()
def tearDown(self): super(TestPreprintFiltering, self).tearDown() Node.remove()
def tearDown(self): super(CitationsNodeTestCase, self).tearDown() Node.remove() User.remove()
def tearDown(self): super(TestUserDetail, self).tearDown() Node.remove()
def tearDown(self): super(TestUserNodes, self).tearDown() Node.remove()
def tearDown(self): super(TestNodeForkCreate, self).tearDown() Node.remove()
def tearDown(self): super(TestInstitutionList, self).tearDown() Node.remove()
def tearDown(self): super(TestInstitution, self).tearDown() Node.remove()
def tearDown(self): Node.remove()
def tearDown(self): super(TestRegistrationForkCreate, self).tearDown() Node.remove()
def tearDown(self): super(TestRegistrationList, self).tearDown() Node.remove()
def tearDown(self): super(TestMigrateForks, self).tearDown() Node.remove() responses.stop() responses.reset() piwik_cache._cache = None