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