diff --git a/tests/helpers/test_dart.py b/tests/helpers/test_dart.py index 60165922..df07a165 100644 --- a/tests/helpers/test_dart.py +++ b/tests/helpers/test_dart.py @@ -24,5 +24,5 @@ def test_find_dart_source_samples_rows_not_found_barcode(app, dart_samples): def test_exceptions_are_propagated_up(app, dart_samples): with app.app_context(): with patch("lighthouse.helpers.dart.create_dart_connection", side_effect=Exception("test exception")): - with raises(Exception): + with raises(Exception, match="test exception"): find_dart_source_samples_rows("unknown")