Пример #1
0
 def fight_hallstars_vs_pods(self):
     """S10, Final damage on PODs"""
     return Fight.load_by_id("9bb560d9-4925-4845-ad03-26012742ee23")
Пример #2
0
 def fight_crabs_vs_pods(self):
     """common case"""
     return Fight.load_by_id("6754f45d-52a6-4b2f-b63c-15dcd520f8cf")
Пример #3
0
 def test_load_by_id_bad_id(self):
     bad_id = Fight.load_by_id("00000000-0000-0000-0000-000000000000")
     assert bad_id is None
Пример #4
0
 def fight_shoethieves_vs_pods(self):
     """S9 example"""
     return Fight.load_by_id("3e2882a7-1553-49bd-b271-49cab930d9fc")
Пример #5
0
 def test_load_by_id(self):
     fight = Fight.load_by_id("6754f45d-52a6-4b2f-b63c-15dcd520f8cf")
     assert isinstance(fight, Fight)