def test_deal_with_pecan_configs(self):
        conf = Config(conf_dict={'items': ['url']})
        viewer = RequestViewerHook(conf)

        assert viewer.items == ['url']
If config comes from pecan.conf convert it to dict
dataset/ETHPy150Open pecan/pecan/pecan/tests/test_hooks.py/TestRequestViewerHook.test_deal_with_pecan_configs