diff --git a/tests/unit/model/v2/test_dependency_section.py b/tests/unit/model/v2/test_dependency_section.py index 76f38850e..d49357de7 100644 --- a/tests/unit/model/v2/test_dependency_section.py +++ b/tests/unit/model/v2/test_dependency_section.py @@ -42,7 +42,7 @@ def _model_dependency_section_data(): # type: ignore[no-untyped-def] # noqa: A indirect=True, ) def test_dependency(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -58,7 +58,7 @@ def _model_dependency_errors_section_data(): # type: ignore[no-untyped-def] # def test_dependency_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 x = ["0 is not one of ['galaxy', 'shell']"] - assert x == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert x == schema_v3.validate(config) @pytest.fixture @@ -80,7 +80,7 @@ def _model_dependency_allows_shell_section_data(): # type: ignore[no-untyped-de indirect=True, ) def test_dependency_allows_shell_name(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -96,4 +96,4 @@ def _model_dependency_shell_errors_section_data(): # type: ignore[no-untyped-de def test_dependency_shell_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 x = ["None is not of type 'string'"] - assert x == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert x == schema_v3.validate(config) diff --git a/tests/unit/model/v2/test_driver_section.py b/tests/unit/model/v2/test_driver_section.py index 56bcc92f4..462a53e80 100644 --- a/tests/unit/model/v2/test_driver_section.py +++ b/tests/unit/model/v2/test_driver_section.py @@ -39,7 +39,7 @@ def _model_driver_section_data(): # type: ignore[no-untyped-def] # noqa: ANN20 @pytest.mark.parametrize("config", ["_model_driver_section_data"], indirect=True) # noqa: PT007 def test_driver(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -77,7 +77,7 @@ def test_driver_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN driver_name = f"'{config['driver']['name']}'" error_msg = [f"{driver_name} {base_error_msg}"] - assert error_msg == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert error_msg == schema_v3.validate(config) @pytest.fixture @@ -91,7 +91,7 @@ def _model_driver_provider_name_nullable_section_data(): # type: ignore[no-unty indirect=True, ) def test_driver_provider_name_nullable(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -132,4 +132,4 @@ def _model_driver_allows_custom_section_data2(): # type: ignore[no-untyped-def] indirect=True, ) def test_driver_allows_name(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) diff --git a/tests/unit/model/v2/test_platforms_section.py b/tests/unit/model/v2/test_platforms_section.py index 55a18d094..da0026995 100644 --- a/tests/unit/model/v2/test_platforms_section.py +++ b/tests/unit/model/v2/test_platforms_section.py @@ -30,4 +30,4 @@ indirect=True, ) def test_platforms_delegated(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) diff --git a/tests/unit/model/v2/test_provisioner_section.py b/tests/unit/model/v2/test_provisioner_section.py index b37f7a824..eaa0fa0a9 100644 --- a/tests/unit/model/v2/test_provisioner_section.py +++ b/tests/unit/model/v2/test_provisioner_section.py @@ -59,7 +59,7 @@ def _model_provisioner_section_data(): # type: ignore[no-untyped-def] # noqa: indirect=True, ) def test_provisioner(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -79,7 +79,7 @@ def _model_provisioner_errors_section_data(): # type: ignore[no-untyped-def] # def test_provisioner_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 x = ["0 is not one of ['ansible']"] - assert x == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert x == schema_v3.validate(config) @pytest.fixture @@ -93,4 +93,4 @@ def _model_provisioner_allows_ansible_section_data(): # type: ignore[no-untyped indirect=True, ) def test_provisioner_allows_name(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) diff --git a/tests/unit/model/v2/test_scenario_section.py b/tests/unit/model/v2/test_scenario_section.py index 63ce2ed8b..4143b981e 100644 --- a/tests/unit/model/v2/test_scenario_section.py +++ b/tests/unit/model/v2/test_scenario_section.py @@ -40,7 +40,7 @@ def _model_scenario_section_data(): # type: ignore[no-untyped-def] # noqa: ANN @pytest.mark.parametrize("config", ["_model_scenario_section_data"], indirect=True) # noqa: PT007 def test_scenario(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -56,4 +56,4 @@ def _model_scenario_errors_section_data(): # type: ignore[no-untyped-def] # no def test_scenario_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 x = ["0 is not of type 'string'"] - assert x == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert x == schema_v3.validate(config) diff --git a/tests/unit/model/v2/test_schema.py b/tests/unit/model/v2/test_schema.py index 08510a051..b7b38fa7c 100644 --- a/tests/unit/model/v2/test_schema.py +++ b/tests/unit/model/v2/test_schema.py @@ -30,7 +30,7 @@ def test_base_config(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) def test_molecule_schema(resources_folder_path: Path) -> None: diff --git a/tests/unit/model/v2/test_verifier_section.py b/tests/unit/model/v2/test_verifier_section.py index aee5e7048..e4e1a17ff 100644 --- a/tests/unit/model/v2/test_verifier_section.py +++ b/tests/unit/model/v2/test_verifier_section.py @@ -40,7 +40,7 @@ def _model_verifier_section_data(): # type: ignore[no-untyped-def] # noqa: ANN @pytest.mark.parametrize("config", ["_model_verifier_section_data"], indirect=True) # noqa: PT007 def test_verifier(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config) @pytest.fixture @@ -60,7 +60,7 @@ def _model_verifier_errors_section_data(): # type: ignore[no-untyped-def] # no def test_verifier_has_errors(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 x = ["0 is not one of ['ansible', 'goss', 'inspec', 'testinfra']"] - assert x == schema_v3.validate(config) # type: ignore[no-untyped-call] + assert x == schema_v3.validate(config) @pytest.fixture @@ -82,4 +82,4 @@ def _model_verifier_allows_ansible_section_data(): # type: ignore[no-untyped-de indirect=True, ) def test_verifier_allows_name(config): # type: ignore[no-untyped-def] # noqa: ANN001, ANN201, D103 - assert not schema_v3.validate(config) # type: ignore[no-untyped-call] + assert not schema_v3.validate(config)