mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-28 15:22:28 +01:00
17 lines
415 B
Python
17 lines
415 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
import pytest
|
|
|
|
from pytiled_parser import parse_map
|
|
|
|
|
|
def test_cross_template_tmx_json():
|
|
with pytest.raises(NotImplementedError):
|
|
parse_map(Path(os.path.dirname(os.path.abspath(__file__))) / "map.tmx")
|
|
|
|
|
|
def test_cross_template_json_tmx():
|
|
with pytest.raises(NotImplementedError):
|
|
parse_map(Path(os.path.dirname(os.path.abspath(__file__))) / "map.json")
|