File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 33from pathlib import Path
44
55import pytest
6+ from pytest_subtests import SubTests
67
78from pydantic import ValidationError
89
@@ -29,7 +30,7 @@ def test_postgresql_database_configuration() -> None:
2930 assert c .ca_cert_path is None
3031
3132
32- def test_postgresql_database_configuration_port_setting (subtests ) -> None :
33+ def test_postgresql_database_configuration_port_setting (subtests : SubTests ) -> None :
3334 """Test the PostgreSQLDatabaseConfiguration model."""
3435 with subtests .test (msg = "Correct port value" ):
3536 c = PostgreSQLDatabaseConfiguration (
@@ -51,7 +52,7 @@ def test_postgresql_database_configuration_port_setting(subtests) -> None:
5152 )
5253
5354
54- def test_postgresql_database_configuration_ca_cert_path (subtests ) -> None :
55+ def test_postgresql_database_configuration_ca_cert_path (subtests : SubTests ) -> None :
5556 """Test the PostgreSQLDatabaseConfiguration model."""
5657 with subtests .test (msg = "Path exists" ):
5758 c = PostgreSQLDatabaseConfiguration (
You can’t perform that action at this time.
0 commit comments