Пример #1
0
 def test_to_string_multiple_values(self):
     command_type = CommandType(value=3)
     expected = "Alias, Function"
     actual = str(command_type)
     assert actual == expected
Пример #2
0
 def test_to_string_all(self):
     command_type = CommandType(value=CommandType.ALL)
     expected = "All"
     actual = str(command_type)
     assert actual == expected
Пример #3
0
 def test_to_string_one_value(self):
     command_type = CommandType(value=1)
     expected = "Alias"
     actual = str(command_type)
     assert actual == expected