@@ -48,6 +48,7 @@ def test_simple(self) -> None:
4848 external_id = "1" ,
4949 exception_type = "KeyError" ,
5050 )
51+ assert "error" not in seer_response
5152 assert seer_response ["issues" ][0 ] == group .id
5253
5354 full_issues = seer_response ["issues_full" ][0 ]
@@ -159,6 +160,7 @@ def test_multiple_projects(self) -> None:
159160 external_id = "1" ,
160161 exception_type = "KeyError" ,
161162 )
163+ assert "error" not in seer_response
162164 assert {group_1 .id , group_2 .id } == set (seer_response ["issues" ])
163165 assert group_3 .id not in seer_response ["issues" ]
164166 assert group_3 .id not in [int (issue ["id" ]) for issue in seer_response ["issues_full" ]]
@@ -208,6 +210,7 @@ def test_last_seen_filter(self) -> None:
208210 external_id = "1" ,
209211 exception_type = "KeyError" ,
210212 )
213+ assert "error" not in seer_response
211214 assert seer_response ["issues" ] == [group .id ]
212215 assert seer_response ["issues_full" ][0 ]["id" ] == str (group .id )
213216 assert seer_response ["issues_full" ][0 ]["title" ] == "KeyError: This a bad error"
@@ -283,6 +286,7 @@ def test_multiple_exception_types(self) -> None:
283286 external_id = "1" ,
284287 exception_type = "KeyError" ,
285288 )
289+ assert "error" not in seer_response
286290 assert seer_response ["issues" ] == [group_1 .id ]
287291 assert len (seer_response ["issues_full" ]) == 1
288292 assert seer_response ["issues_full" ][0 ]["id" ] == str (group_1 .id )
@@ -295,6 +299,7 @@ def test_multiple_exception_types(self) -> None:
295299 external_id = "1" ,
296300 exception_type = "ValueError" ,
297301 )
302+ assert "error" not in seer_response
298303 assert seer_response ["issues" ] == [group_2 .id ]
299304 assert len (seer_response ["issues_full" ]) == 1
300305 assert seer_response ["issues_full" ][0 ]["id" ] == str (group_2 .id )
@@ -409,6 +414,7 @@ def _assert_exception_type_matches(
409414 external_id = "1" ,
410415 exception_type = search_exception_type ,
411416 )
417+ assert "error" not in seer_response
412418 assert seer_response ["issues" ] == [expected_group .id ]
413419 assert len (seer_response ["issues_full" ]) == 1
414420
@@ -507,6 +513,7 @@ def test_normalized_matching_multiple_groups(self) -> None:
507513 external_id = "1" ,
508514 exception_type = "valueerror" ,
509515 )
516+ assert "error" not in seer_response
510517 assert seer_response ["issues" ] == [group1 .id ]
511518 assert len (seer_response ["issues_full" ]) == 1
512519
@@ -517,6 +524,7 @@ def test_normalized_matching_multiple_groups(self) -> None:
517524 external_id = "1" ,
518525 exception_type = "type error" ,
519526 )
527+ assert "error" not in seer_response
520528 assert seer_response ["issues" ] == [group2 .id ]
521529 assert len (seer_response ["issues_full" ]) == 1
522530
0 commit comments