From 0c9ae0e547c775c33f097ee183ef41ae06c1b158 Mon Sep 17 00:00:00 2001 From: Tsung-Ju Lii Date: Fri, 13 Sep 2024 11:16:49 +0800 Subject: [PATCH] fix test --- tests/monte_carlo/expected.json | 4 ++-- tests/monte_carlo/test_extractor.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/monte_carlo/expected.json b/tests/monte_carlo/expected.json index 40bf4dfc..e518b314 100644 --- a/tests/monte_carlo/expected.json +++ b/tests/monte_carlo/expected.json @@ -84,12 +84,12 @@ { "description": "Field Health for all fields in db:metaphor.test4", "exceptions": [ - "Ignore me" + "Oh no" ], "lastRun": "2023-06-23T03:54:35.817000+00:00", "owner": "yi@metaphor.io", "severity": "UNKNOWN", - "status": "UNKNOWN", + "status": "ERROR", "targets": [], "title": "auto_monitor_name_693b98e3-950d-472b-83fe-8c8e5b5979f9", "url": "https://getmontecarlo.com/monitors/d14af7d8-6342-420a-bb09-5805fad677f1" diff --git a/tests/monte_carlo/test_extractor.py b/tests/monte_carlo/test_extractor.py index 7939cd5f..2e5be17f 100644 --- a/tests/monte_carlo/test_extractor.py +++ b/tests/monte_carlo/test_extractor.py @@ -113,7 +113,7 @@ async def test_extractor(mock_pycarlo_client: MagicMock, test_root_dir: str): ], "priority": None, "monitorStatus": "ERROR", - "exceptions": "Ignore me", + "exceptions": "Oh no", "monitorFields": None, "creatorId": "yi@metaphor.io", "prevExecutionTime": "2023-06-23T03:54:35.817000+00:00", @@ -126,7 +126,7 @@ async def test_extractor(mock_pycarlo_client: MagicMock, test_root_dir: str): "entityMcons": None, "priority": None, "monitorStatus": "ERROR", - "exceptions": "Ignore me", + "exceptions": "No entity, this exception is ignored", "monitorFields": None, "creatorId": "yi@metaphor.io", "prevExecutionTime": "2023-06-23T03:54:35.817000+00:00",