Skip to content
Snippets Groups Projects
Verified Commit ac90dcfd authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Update test config test

parent 3e9d1060
Branches
Tags
1 merge request!3add config test
......@@ -11,7 +11,7 @@ import larp
@pytest.fixture
def good_config_data():
return {
'collection-name': 'organisation.collection'
'collection-uri': 'organisation.collection'
}
......
......@@ -22,5 +22,5 @@ def test_config_correct(good_config_data):
def test_config_incorrect(bad_config_data):
with io.StringIO(json.dumps(bad_config_data)) as f:
f.seek(0)
with pytest.raises(ValidationError):
with pytest.raises(Exception, match="'collection-uri' is a required property"):
config.load_from_file(f)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment