def test_dict_attributes(self):
        ns = {"az":{"king":55}, "pq":{1:0}}
        tests = [
          ("a*", ["az"]),
          ("az.k*", ["az.keys"]),
          ("pq.k*", ["pq.keys"])
        ]
        for pat, res in tests:
            res.sort()
            a = list(wildcard.list_namespace(ns, "all", pat, ignore_case=False,
                                        show_all=True).keys())
            a.sort()
            self.assertEqual(a, res)
Configure the driver to use the stored configuration options
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/tests/test_wildcard.py/Tests.test_dict_attributes--crossover with--dataset/ETHPy150Open rcbops/glance-buildpackage/glance/image_cache/drivers/xattr.py/Driver.configure