mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-28 07:12:02 +01:00
Add test for external tileset in different directory than the map
This commit is contained in:
@@ -138,7 +138,9 @@ EXPECTED = tiled_map.TiledMap(
|
||||
tilesets={
|
||||
1: tileset.Tileset(
|
||||
columns=5,
|
||||
image=Path("../../images/hexmini.png"),
|
||||
image=Path(Path(__file__).parent / "../../images/hexmini.png")
|
||||
.absolute()
|
||||
.resolve(),
|
||||
image_width=106,
|
||||
image_height=72,
|
||||
margin=0,
|
||||
|
||||
Reference in New Issue
Block a user