(self)
| 64 | self.assertEqual(a,res) |
| 65 | |
| 66 | def test_case_showall(self): |
| 67 | ns=root.__dict__ |
| 68 | tests=[ |
| 69 | ("a*", ["abbot","abel","active","arna",]), |
| 70 | ("?b*.?o*",["abbot.koppel","abbot.loop","abel.koppel","abel.loop",]), |
| 71 | ("_a*", ["_apan"]), |
| 72 | ("_*anka", ["__anka",]), |
| 73 | ("_*a*", ["__anka","_apan",]), |
| 74 | ] |
| 75 | for pat,res in tests: |
| 76 | res.sort() |
| 77 | a=sorted(wildcard.list_namespace(ns,"all",pat,ignore_case=False, |
| 78 | show_all=True).keys()) |
| 79 | self.assertEqual(a,res) |
| 80 | |
| 81 | |
| 82 | def test_nocase(self): |