Esempio n. 1
0
 def test_maxHighScore(self):
     user = User(username='******', email='*****@*****.**')
     user.set_password('test')
     user.save()
     userProfile = UserProfile(user=user)
     userProfile.save()
     ge = GameExperiment()
     ge.save()
     mhs = MaxHighScore(user=user, game_experiment=ge)
     self.assertIsNotNone(self, mhs)
Esempio n. 2
0
 def test_gameExperiment_creation(self):
     ge = GameExperiment()
     ge.save()
     self.assertIsNotNone(self, ge)