示例#1
0
 def division_lawful_good(self):
     return Division.load("f711d960-dc28-4ae2-9249-e1f320fec7d7")
示例#2
0
 def test_load_bad_id(self):
     with pytest.raises(ValueError):
         bad_id = Division.load("00000000-0000-0000-0000-000000000000")
示例#3
0
 def division_mild_high(self):
     return Division.load("456089f0-f338-4620-a014-9540868789c9")
示例#4
0
 def test_load(self):
     division = Division.load("f711d960-dc28-4ae2-9249-e1f320fec7d7")
     assert isinstance(division, Division)