Beispiel #1
0
 def setUp(self):
     self.score = GameScore(
         score=1337, player_name='John Doe', cheat_mode=False
         )
     self.sao_paulo = City(
         name='São Paulo', location=GeoPoint(-23.5, -46.6167)
         )
Beispiel #2
0
 def setUp(self):
     self.now = datetime.datetime.now()
     self.score = GameScore(score=1337,
                            player_name='John Doe',
                            cheat_mode=False,
                            date_of_birth=self.now)
     self.sao_paulo = City(name='São Paulo',
                           location=GeoPoint(-23.5, -46.6167))