Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/test.py @ 335:97d47c5150d6
Tests: Remove debug output
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 07 May 2021 10:36:47 +0200 |
| parents | a04cd5dbcd2c |
| children | 7692c91bb370 |
comparison
equal
deleted
inserted
replaced
| 334:a04cd5dbcd2c | 335:97d47c5150d6 |
|---|---|
| 781 "value", | 781 "value", |
| 782 self._cfg.getvar_s("events.qc-2021%x2e1-5G-summit.xref.%x23")) | 782 self._cfg.getvar_s("events.qc-2021%x2e1-5G-summit.xref.%x23")) |
| 783 | 783 |
| 784 def test_quoting_and_unquoting_are_inverse(self): | 784 def test_quoting_and_unquoting_are_inverse(self): |
| 785 for c in """abc09'"#:|%.{}[]/""": | 785 for c in """abc09'"#:|%.{}[]/""": |
| 786 print c | |
| 787 self.assertEqual(c, self._cfg.unquote(self._cfg.quote(c))) | 786 self.assertEqual(c, self._cfg.unquote(self._cfg.quote(c))) |
| 788 | 787 |
| 789 def test_namespace_quoting(self): | 788 def test_namespace_quoting(self): |
| 790 v1 = self._cfg.getvar("PY:version") | 789 v1 = self._cfg.getvar("PY:version") |
| 791 v2 = self._cfg.getvar("P%x59:version") | 790 v2 = self._cfg.getvar("P%x59:version") |
