示例#1
0
 def test_get_int(self):
     for _, enum in FaceEnum.items():
         assert FaceEnum.get_int(enum) == enum.value
示例#2
0
 def test_get_str(self):
     for _, enum in FaceEnum.items():
         assert FaceEnum.get_str(enum) == enum.name
示例#3
0
 def test_items(self):
     assert len(FaceEnum.items()) == 6