mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-27 14:52:15 +01:00
tests:fix: use correct name of cast function
This commit is contained in:
@@ -1100,6 +1100,6 @@ OBJECTS = ELLIPSES + RECTANGLES + POINTS + TILES + POLYGONS + POLYLINES + TEXTS
|
||||
@pytest.mark.parametrize("raw_object_json,expected", OBJECTS)
|
||||
def test_parse_layer(raw_object_json, expected):
|
||||
raw_object = json.loads(raw_object_json)
|
||||
result = tiled_object._cast_tiled_object(raw_object)
|
||||
result = tiled_object.cast(raw_object)
|
||||
|
||||
assert result == expected
|
||||
|
||||
Reference in New Issue
Block a user