Browse Source

Update test_crispy_layout_mixin.py

pull/3459/head
Abdul muhaimin 3 years ago
committed by GitHub
parent
commit
82a2e4e010
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/test_crispy_layout_mixin.py

2
sapl/test_crispy_layout_mixin.py

@ -18,7 +18,7 @@ ModelName:
- highlander '''
with mock.patch('sapl.crispy_layout_mixin.read_yaml_from_file') as ryff:
ryff.return_value = yaml.load(stub_content, yaml.Loader)
ryff.return_value = yaml.load(stub_content, yaml.SafeLoader)
assert read_layout_from_yaml('....', 'ModelName') == [
['Cool Legend',
[('name', 9), ('place', 2), ('tiny', 1)],

Loading…
Cancel
Save