python: test loading and saving visual test xml files as well
This commit is contained in:
parent
9e66317af1
commit
41e68820c5
2 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,7 @@ def test_broken_files():
|
|||
|
||||
def test_good_files():
|
||||
good_files = glob.glob("../data/good_maps/*.xml")
|
||||
good_files.extend(glob.glob("../visual_tests/styles/*.xml"))
|
||||
|
||||
failures = [];
|
||||
for filename in good_files:
|
||||
|
|
|
@ -47,6 +47,9 @@ def test_compare_map():
|
|||
for m in glob.glob("../data/good_maps/*.xml"):
|
||||
compare_map(m)
|
||||
|
||||
for m in glob.glob("../visual_tests/styles/*.xml"):
|
||||
compare_map(m)
|
||||
|
||||
if __name__ == "__main__":
|
||||
setup()
|
||||
run_all(eval(x) for x in dir() if x.startswith("test_"))
|
||||
|
|
Loading…
Add table
Reference in a new issue