diff --git a/etna/api/tests/test_pages.py b/etna/api/tests/test_pages.py index 2f65bbb54..beae11be0 100644 --- a/etna/api/tests/test_pages.py +++ b/etna/api/tests/test_pages.py @@ -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)