Skip to content

Commit 041f22c

Browse files
committed
fix: tests
1 parent 5749762 commit 041f22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unitests/test_cli_with_mock_domain.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_create_valid_registry(mock_domain, capsys):
5454

5555
def test_create_invalid_registry(mock_domain):
5656
app = TyperRegistryAdaptor(mock_domain)
57-
with pytest.raises(ValidationError, match="string does not match regex"):
57+
with pytest.raises(ValidationError, match="1 validation error for Registry"):
5858
app.create("invalid_registry_name", rich_preview=False)
5959

6060

0 commit comments

Comments
 (0)