Skip to content

Commit

Permalink
fix tests for changed jsonschema error message
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Jan 17, 2024
1 parent 852f949 commit 2347efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def test_load_queries_no_metrics(self, logger, config_full, write_config):
load_config(fd, logger)
assert (
str(err.value)
== "Invalid config at queries/q/metrics: [] is too short"
== "Invalid config at queries/q/metrics: [] should be non-empty"
)

def test_load_queries_no_databases(
Expand All @@ -893,7 +893,7 @@ def test_load_queries_no_databases(
load_config(fd, logger)
assert (
str(err.value)
== "Invalid config at queries/q/databases: [] is too short"
== "Invalid config at queries/q/databases: [] should be non-empty"
)

@pytest.mark.parametrize(
Expand Down

0 comments on commit 2347efe

Please sign in to comment.