def tearDown(self): if isdir(UPLOAD_FOLDER): rmtree(UPLOAD_FOLDER) for submission in Submission.objects(submitter=self.username): submission.delete() UserTestCase.tearDown(self)
def tearDown(self): self._logout() UserTestCase.tearDown(self)
def tearDown(self): """ Issue a logout on every test. """ self.app.get('/logout', follow_redirects=True) UserTestCase.tearDown(self)
def tearDown(self): UserTestCase.tearDown(self)