diff tests/test.py @ 340:176e22110fc5

docs, tests: notes and additional tests when quoting the "ref" namespace name
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 08 May 2021 19:19:35 +0200
parents 933df3ffd428
children efbf7ba40287
line wrap: on
line diff
--- a/tests/test.py	Sat May 08 18:55:39 2021 +0200
+++ b/tests/test.py	Sat May 08 19:19:35 2021 +0200
@@ -807,6 +807,10 @@
         self.assertEqual(v1, v5)
         self.assertEqual(v1, v6)
 
+    def test_direct_ref_namespace_quoting(self):
+        v = self._cfg.getvar_s("re%x66:#%x23%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./.%x23")
+        self.assertEqual("value", v)
+
 
 if __name__ == "__main__":
     unittest.main()