We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5749762 commit 041f22cCopy full SHA for 041f22c
tests/unitests/test_cli_with_mock_domain.py
@@ -54,7 +54,7 @@ def test_create_valid_registry(mock_domain, capsys):
54
55
def test_create_invalid_registry(mock_domain):
56
app = TyperRegistryAdaptor(mock_domain)
57
- with pytest.raises(ValidationError, match="string does not match regex"):
+ with pytest.raises(ValidationError, match="1 validation error for Registry"):
58
app.create("invalid_registry_name", rich_preview=False)
59
60
0 commit comments