mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-02-23 15:49:52 +01:00
tests: removed color property from individual_images test to increase branch coverage
This commit is contained in:
@@ -80,7 +80,6 @@ EXPECTED = tileset.TileSet(
|
|||||||
image=Path("../../images/tile_04.png"),
|
image=Path("../../images/tile_04.png"),
|
||||||
image_height=32,
|
image_height=32,
|
||||||
image_width=32,
|
image_width=32,
|
||||||
properties={"color property": common_types.Color("#ff5500ff")},
|
|
||||||
type="tile",
|
type="tile",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -115,15 +115,9 @@
|
|||||||
"image":"..\/..\/images\/tile_04.png",
|
"image":"..\/..\/images\/tile_04.png",
|
||||||
"imageheight":32,
|
"imageheight":32,
|
||||||
"imagewidth":32,
|
"imagewidth":32,
|
||||||
"properties":[
|
|
||||||
{
|
|
||||||
"name":"color property",
|
|
||||||
"type":"color",
|
|
||||||
"value":"#ff5500ff"
|
|
||||||
}],
|
|
||||||
"type":"tile"
|
"type":"tile"
|
||||||
}],
|
}],
|
||||||
"tilewidth":32,
|
"tilewidth":32,
|
||||||
"type":"tileset",
|
"type":"tileset",
|
||||||
"version":1.2
|
"version":1.2
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user