diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-16 08:43:11 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-16 08:43:11 -0400 |
| commit | 837b9b8f8ba4c395ea6379ac243adcd7a5ac4c92 (patch) | |
| tree | 8d367b1f0cfb2c29060d0a312be9f0aa32590c7e /tests/test_config_file_path.py | |
| parent | Remove -x for run tests (diff) | |
| download | config-file-837b9b8f8ba4c395ea6379ac243adcd7a5ac4c92.zip | |
Fix config file path subclasses in 3.13
Diffstat (limited to 'tests/test_config_file_path.py')
| -rw-r--r-- | tests/test_config_file_path.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config_file_path.py b/tests/test_config_file_path.py index 30b3b7f..e5ec5ba 100644 --- a/tests/test_config_file_path.py +++ b/tests/test_config_file_path.py @@ -79,7 +79,7 @@ def test_config_file_path_decides_on_the_correct_parser( template = template_file(template_file_type, "default") path = ConfigFilePath(template) - assert isinstance(path.parser, expected_parser_type) + assert isinstance(path.file_parser, expected_parser_type) @pytest.mark.parametrize("filename", ["some-file", "some-file.unsupported-extension"]) @@ -94,4 +94,4 @@ def test_config_file_path_raises_value_error_on_parser_if_invalid_extension(file path = ConfigFilePath(filename) with pytest.raises(ValueError): - path.parser + path.file_parser |