We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c77828 commit 19f4debCopy full SHA for 19f4deb
tests/unit/sdk/test_yaml.py
@@ -16,11 +16,12 @@ def test_read_missing_file() -> None:
16
17
18
def test_read_incorrect_encoding() -> None:
19
- file = here / "test_data/schema_encoding_error.yml"
20
- yaml_file = YamlFile(location=file)
+ file_name = "schema_encoding_error.yml"
+ full_path = here / "test_data" / file_name
21
+ yaml_file = YamlFile(location=full_path)
22
yaml_file.load_content()
23
assert not yaml_file.valid
- assert yaml_file.error_message == f"Unable to read {file} with utf-8 encoding"
24
+ assert yaml_file.error_message == f"Unable to read {file_name} with utf-8 encoding"
25
26
27
def test_read_multiple_files() -> None:
0 commit comments