test_embeds: assert path_exists for simple case

This commit is contained in:
Luna 2020-01-24 21:32:35 -03:00
parent d8a24ad052
commit 6e81b8d5fb
1 changed files with 1 additions and 0 deletions

View File

@ -87,4 +87,5 @@ def test_fields():
def test_path_exists():
"""Test the path_exists() function for embed sanitization."""
assert path_exists({"a": {"b": 2}}, "a.b")
assert path_exists({"a": "b"}, "a")
assert not path_exists({"a": "b"}, "a.b")