def test_show(self):
        state['a.b'] = 12
        state['bla.bli'] = 13

        buf = io.StringIO()
        with stdout_redirector(buf):
            state.show()

        self.assertNotEqual(len(buf.getvalue()), 0)
        self.assertRegexpMatches(buf.getvalue(), r"\[a\]")
        self.assertRegexpMatches(buf.getvalue(), r"\[bla\]")
        self.assertRegexpMatches(buf.getvalue(), r"b")
        self.assertRegexpMatches(buf.getvalue(), r"bli")
        self.assertRegexpMatches(buf.getvalue(), r"12")
        self.assertRegexpMatches(buf.getvalue(), r"13")
Authenticates/authorizes a request based on the content of the
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_state.py/TestBasicState.test_show--crossover with--dataset/ETHPy150Open ownaginatious/flask-basic-roles/flask_basic_roles/__init__.py/BasicRoleAuth.require