Skip to content

Commit

Permalink
Add match regexp to detector_db test
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaiton committed Feb 19, 2024
1 parent cff7884 commit e784d01
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions invisible_cities/cities/db_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ def test_city_missing_detector_db(city):

# check that the test provides the
# required value error for missing detector_db
with raises(ValueError):
with raises(ValueError, match=r"The function `(\w+)` is missing an argument `detector_db`"):
city_function(**conf)





0 comments on commit e784d01

Please sign in to comment.