Exemple #1
0
 def setUp(self):
     self.app = leaderboard.app.test_client()
     assert self.app != None
     # self.app.config['TESTING'] = True
     self.db = leaderboard.init_db()
Exemple #2
0
	def setUp(self):
		self.app = leaderboard.app.test_client()
		#print 'done with setup'
		assert (self.app != None)
		self.db = leaderboard.init_db()