def test_round_trip_always_possible(full_names): expected = set(full_names) actual = { expand_shortened_reference_name(name[:36], full_names) for name in full_names } assert actual == expected
def test_expand_shortened_reference_names(name): short_name = name[:36] actual = expand_shortened_reference_name(short_name, ALL_FULL_NAMES) assert actual == name