re-implemented test case

This commit is contained in:
koid
2023-12-21 11:09:25 +09:00
parent e2797ad09a
commit f99862088e
2 changed files with 14 additions and 13 deletions

View File

@ -15,18 +15,6 @@ class TestLoadYaml:
expected_output = {'name': 'John Smith', 'age': 35}
assert load_yaml(yaml_str) == expected_output
def test_load_valid_yaml_with_description(self):
yaml_str = '''\
Here is the answer in YAML format:
```yaml
name: John Smith
age: 35
```
'''
expected_output = {'name': 'John Smith', 'age': 35}
assert load_yaml(yaml_str) == expected_output
def test_load_invalid_yaml1(self):
yaml_str = \
'''\