diff --git a/tests/test_ari_text.py b/tests/test_ari_text.py index a9b0e71..13cd140 100644 --- a/tests/test_ari_text.py +++ b/tests/test_ari_text.py @@ -419,7 +419,7 @@ def test_ari_text_encode_lit_prim_float64(self): def test_ari_text_encode_lit_prim_tstr(self): TEST_CASE = [ ("test", False, True, "ari:test"), - # FIXME: ("test", False, False, "ari:%22test%22"), + ("test", False, False, "ari:%22test%22"), ("test", True, True, "ari:test"), # FIXME: ("\\'\'", True, True, "ari:%22%5C''%22"), # FIXME: ("':!@$%^&*()-+[]{},./?", True, True, "ari:%22':!@%24%25%5E%26%2A%28%29-+%5B%5D%7B%7D%2C.%2F%3F%22"), @@ -429,9 +429,9 @@ def test_ari_text_encode_lit_prim_tstr(self): ] for row in TEST_CASE: - value, bool1, bool2, expect = row + value, copy, identity, expect = row with self.subTest(value): - enc = ari_text.Encoder() #TODO: update to incorporate bool1, bool2 + enc = ari_text.Encoder(text_identity=identity) ari = LiteralARI(value) loop = io.StringIO() enc.encode(ari, loop)