def tearDown(self): # delete the items Item.delete_item(self.item1) Item.delete_item(self.item2) # delete the categories Category.delete_category(self.category1) Category.delete_category(self.category2) # delete the users User.delete_user(self.buyer) User.delete_user(self.seller)
def tearDown(self): Reservation.delete_reservation(self.reservation1) self.user.remove_reservation(self.reservation2) Item.delete_item(self.item1) Item.delete_item(self.item2) Item.delete_item(self.item3) User.delete_user(self.user) Category.delete_category(self.category)
def tearDown(self): # delete the items Item.delete_item(self.textbook_3091_1) Item.delete_item(self.textbook_3091_2) Item.delete_item(self.video_5111) Item.delete_item(self.cheat_sheets) # delete the categories Category.delete_category(self.textbooks) Category.delete_category(self.videos) Category.delete_category(self.girs) # delete the user User.delete_user(self.user)
def tearDown(self): # delete the category Category.delete_category(self.category) Category.delete_category(self.category2)