From 106ccab685230f4e85a50354087ace80fc5a99f4 Mon Sep 17 00:00:00 2001 From: Benjamin Kirkbride Date: Mon, 1 Jun 2020 21:01:41 -0400 Subject: [PATCH] tests:fix: use correct name of cast function --- tests/test_tiled_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tiled_object.py b/tests/test_tiled_object.py index 3fe1b0e..02d99b1 100644 --- a/tests/test_tiled_object.py +++ b/tests/test_tiled_object.py @@ -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