Ejemplo n.º 1
0
 def tearDown(self):
     print('Cleaning up upvote')
     delete_collection(db.collection(Upvote.collection_name))
     delete_anonymous_user(self.token)
Ejemplo n.º 2
0
 def tearDown(self):
     print('Cleaning up upvote')
     delete_collection(db.collection(Upvote.collection_name), 5)
Ejemplo n.º 3
0
 def tearDown(self):
     print('Cleaning up comments')
     delete_collection(db.collection(Comment.collection_name))
     delete_anonymous_user(self.token)
Ejemplo n.º 4
0
 def tearDown(self):
     print('Cleaning up incident reports')
     delete_collection(db.collection(IncidentReport.collection_name))
Ejemplo n.º 5
0
    def tearDown(self):
        print('Cleaning up comments')
        delete_collection(db.collection(Comment.collection_name))

        print('Cleaning up comment data')
        delete_collection(db.collection(CommentData.collection_name))
Ejemplo n.º 6
0
 def tearDown(self):
     print('Cleaning up events')
     delete_collection(db.collection(Event.collection_name))
Ejemplo n.º 7
0
 def tearDown(self):
     print('Cleaning up classifer')
     delete_collection(db.collection(Classifier.collection_name))
     delete_anonymous_user(self.token)
Ejemplo n.º 8
0
 def tearDown(self):
     print('Cleaning up users')
     delete_collection(db.collection(User.collection_name), 5)
Ejemplo n.º 9
0
 def tearDown(self):
     print('Cleaning up classifer')
     delete_collection(db.collection(Classifier.collection_name), 5)
Ejemplo n.º 10
0
 def tearDown(self):
     print('Cleaning up events')
     delete_collection(db.collection(Event.collection_name))
     delete_collection(db.collection(IncidentReport.collection_name))
     delete_anonymous_user(self.token)