From 6e81b8d5fb7acbdfec3e7f7c4f80310a7ef79b89 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 24 Jan 2020 21:32:35 -0300 Subject: [PATCH] test_embeds: assert path_exists for simple case --- tests/test_embeds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_embeds.py b/tests/test_embeds.py index 05ea0b8..3ec0448 100644 --- a/tests/test_embeds.py +++ b/tests/test_embeds.py @@ -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")