Exemple #1
0
    def tearDown(self):
        if isdir(UPLOAD_FOLDER):
            rmtree(UPLOAD_FOLDER)
            for submission in Submission.objects(submitter=self.username):
                submission.delete()

        UserTestCase.tearDown(self)
Exemple #2
0
    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)
Exemple #4
0
 def tearDown(self):
     """
     Issue a logout on every test.
     """
     self.app.get('/logout', follow_redirects=True)
     UserTestCase.tearDown(self)
Exemple #5
0
 def tearDown(self):
     UserTestCase.tearDown(self)
Exemple #6
0
 def tearDown(self):
     UserTestCase.tearDown(self)
Exemple #7
0
 def tearDown(self):
     self._logout()
     UserTestCase.tearDown(self)