diff --git a/test.py b/test.py index 689bc87..c4cb58a 100644 --- a/test.py +++ b/test.py @@ -2392,11 +2392,11 @@ def testReflexivePaths(self): map = compile(mml_data, dirs) img_path = map.layers[0].styles[0].rules[0].symbolizers[0].file - assert img_path.startswith(self.tmpdir1) + assert img_path.startswith(self.tmpdir1), 'Assert that "%s" starts with "%s"' % (img_path, self.tmpdir1) assert os.path.exists(img_path) shp_path = map.layers[0].datasource.parameters['file'] + '.shp' - assert shp_path.startswith(self.tmpdir1) + assert shp_path.startswith(self.tmpdir1), 'Assert that "%s" starts with "%s"' % (shp_path, self.tmpdir1) assert os.path.exists(shp_path) if __name__ == '__main__':