diff options
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 |