Skip to content

Commit

Permalink
Fix tests for travis env
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 18, 2020
1 parent 15bcb22 commit 01e7508
Show file tree
Hide file tree
Showing 6 changed files with 418 additions and 394 deletions.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_landingpage.py
Expand Up @@ -115,7 +115,7 @@ def compareProjects(self, actual, expected, expected_path):
print("Reference file %s regenerated!" % expected_path.encode('utf8'))

for title in expected_projects.keys():
self.assertLinesEqual(json.dumps(actual_projects[title]), json.dumps(expected_projects[title]), expected_path.encode('utf8'))
self.assertLinesEqual(json.dumps(actual_projects[title], indent=4), json.dumps(expected_projects[title], indent=4), expected_path.encode('utf8'))

def test_landing_page_json(self):
"""Test landing page in JSON format"""
Expand Down

0 comments on commit 01e7508

Please sign in to comment.