Skip to content

Commit

Permalink
replace ValueError with CatalogManagerError
Browse files Browse the repository at this point in the history
  • Loading branch information
dougiesquire committed Oct 17, 2023
1 parent f2a05ee commit 856247d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_CatalogManager_load_error(tmp_path, test_data):
cat.load(**args, path=[path])

# Test fails when len > 1
with pytest.raises(ValueError) as excinfo:
with pytest.raises(CatalogManagerError) as excinfo:
cat.load(**args, path=[path, path])
assert "Only a single data source" in str(excinfo.value)

Expand Down

0 comments on commit 856247d

Please sign in to comment.