Example #1
0
 def tearDown(self):
     # deleting tables
     db.drop_tables([PlaceBook])
     db.drop_tables([Place])
     db.drop_tables([City])
     db.drop_tables([User])
     db.drop_tables([State])
Example #2
0
 def tearDown(self):
     # deleting database
     db.drop_tables([PlaceBook])
     db.drop_tables([Place])
     db.drop_tables([City])
     db.drop_tables([State])
     db.drop_tables([User])
Example #3
0
 def tearDown(self):
     db.drop_tables([City, State])
     db.close()
Example #4
0
 def tearDown(self):
     db.drop_tables([User, State, City, Place, PlaceBook])
Example #5
0
 def tearDown(self):
     db.drop_tables([Amenity])
 def tearDown(self):
     db.drop_tables([User, State, City, PlaceBook, Place])
     db.close()
Example #7
0
	def tearDown(self):
		db.drop_tables([User, State, City, Place, Review, ReviewUser, ReviewPlace])
		db.close()
Example #8
0
 def tearDown(self):
     db.drop_tables([PlaceAmenities], safe=True)
     db.drop_tables([Amenity], safe=True)
     db.drop_tables([Place], safe=True)
     db.drop_tables([City], safe=True)
     db.drop_tables([State], safe=True)
     db.drop_tables([User], safe=True)
Example #9
0
 def tearDown(self):
     db.drop_tables([User])
     db.close()
Example #10
0
 def tearDown(self):
     # deleting database
     db.drop_tables([City])
     db.drop_tables([State])
Example #11
0
 def tearDown(self):
     # deleting database
     db.drop_tables([State], safe=True)
Example #12
0
 def tearDown(self):
     db.drop_tables(
         [User, Place, Review, ReviewPlace, ReviewUser, City, State])
Example #13
0
 def tearDown(self):
     # deleting user
     # User.delete().execute()
     # deleting the table user
     db.drop_tables([User], safe=True)
Example #14
0
 def tearDown(self):
     db.drop_tables([User, City, Place, State])
Example #15
0
 def tearDown(self):
     db.drop_tables([State, City, User, Place, Amenity, PlaceAmenities])
     db.close()
Example #16
0
 def tearDown(self):
     db.drop_tables([PlaceAmenities], safe=True)
     db.drop_tables([Amenity], safe=True)
     db.drop_tables([Place], safe=True)
     db.drop_tables([City], safe=True)
     db.drop_tables([State], safe=True)
     db.drop_tables([User], safe=True)
Example #17
0
 def tearDown(self):
     db.drop_tables([State, City])
Example #18
0
 def tearDown(self):
     # deleting user
     # User.delete().execute()
     # deleting the table user
     db.drop_tables([User], safe=True)
Example #19
0
 def tearDown(self):
     # deleting tables
     db.drop_tables([ReviewPlace])
     db.drop_tables([ReviewUser])
     db.drop_tables([Review])
     db.drop_tables([Place])
     db.drop_tables([City])
     db.drop_tables([User])
     db.drop_tables([State])
Example #20
0
 def tearDown(self):
     #delete User table
     db.drop_tables([User], safe=True)