Skip to content

Commit

Permalink
Update image rendition handling in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Oct 31, 2024
1 parent 1f79b9b commit 0ca7077
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etna/api/tests/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ def compare_json(self, path: str, json_file: str):
api_data = re.sub(r"0_[a-zA-Z0-9]{6,7}", "0", api_data)
expected_data = re.sub(r"e_[a-zA-Z0-9]{6,7}", "e", expected_data)
api_data = re.sub(r"e_[a-zA-Z0-9]{6,7}", "e", api_data)
expected_data = re.sub(r"e_[a-zA-Z0-9]{6,7}", "_", expected_data)
api_data = re.sub(r"e_[a-zA-Z0-9]{6,7}", "_", api_data)

self.assertEqual(expected_data, api_data)

Expand Down

0 comments on commit 0ca7077

Please sign in to comment.