def test_values(enum):
 assert (enum.one.value == 1)
 assert (enum.two.value == 2)

def test_values ( enum ) : assert ( enum . one . value == 1 ) assert ( enum . two . value == 2 )
test if enum members resolve to the right values .