Skip to content

Commit

Permalink
corrected test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Aug 11, 2018
1 parent e42d2da commit 61f5145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_get_option.py
Expand Up @@ -2,7 +2,8 @@

def test_get_variable():

doc = pf.Doc(metadata={"a": "x", "b": {"c": "y"}})
doc = pf.Doc(metadata={"a": pf.MetaString("x"),
"b": pf.MetaMap(c=pf.MetaString("y"))})

assert pf.get_option(default="a") == "a"
assert pf.get_option({"a": 1}, "a") == 1
Expand Down

0 comments on commit 61f5145

Please sign in to comment.