示例#1
0
 def test_get_talks_during_hour(self):
     Talk.create_talk("Charla1", self.attendant_key, session=1).put()
     Talk.create_talk("Charla2", self.attendant_key, session=1).put()
     talks = Talk.get_talks_during_session(1)
     self.assertEquals("Charla1Charla2", talks[0].title + talks[1].title)
示例#2
0
 def test_create_talk(self):
     talk = Talk.create_talk("Titulo5", self.attendant_key)
     self.assertEquals("*****@*****.**", talk.speaker.email)