@@ -58,7 +58,6 @@ async def test_check_status__detects_any_entry_as_incident(self):
5858 result = await check .get_result ()
5959 assert result .error is not None
6060 assert isinstance (result .error , ServiceWarning )
61- assert "1 recent incident(s)" in str (result .error )
6261 assert "Service is operating normally" in str (result .error )
6362
6463 @pytest .mark .asyncio
@@ -103,7 +102,7 @@ async def test_check_status__multiple_incidents(self):
103102 result = await check .get_result ()
104103 assert result .error is not None
105104 assert isinstance (result .error , ServiceWarning )
106- assert "2 recent incident(s) " in str (result .error )
105+ assert "\n " in str (result .error )
107106
108107 @pytest .mark .asyncio
109108 async def test_check_status__no_recent_incidents (self ):
@@ -327,7 +326,7 @@ async def test_extract_title__entry_without_title(self):
327326 result = await check .get_result ()
328327 assert result .error is not None
329328 assert isinstance (result .error , ServiceWarning )
330- assert "Untitled incident " in str (result .error )
329+ assert "Unknown Incident " in str (result .error )
331330
332331 def test_feed_url_format (self ):
333332 """Verify correct feed URL format for AWS."""
@@ -796,7 +795,7 @@ async def test_check_status__atom_entry_with_empty_title(self):
796795 result = await check .get_result ()
797796 assert result .error is not None
798797 assert isinstance (result .error , ServiceWarning )
799- assert "Untitled incident " in str (result .error )
798+ assert "Unknown Incident: " in str (result .error )
800799
801800 @pytest .mark .asyncio
802801 async def test_check_status__atom_entry_without_title (self ):
@@ -833,4 +832,4 @@ async def test_check_status__atom_entry_without_title(self):
833832 result = await check .get_result ()
834833 assert result .error is not None
835834 assert isinstance (result .error , ServiceWarning )
836- assert "Untitled incident " in str (result .error )
835+ assert "Unknown Incident: " in str (result .error )
0 commit comments