def test_auto_clear(self):
        """auto_clear success and then a failure case."""
        solum.TLS.trace.auto_clear = True
        solum.TLS.trace.auto_clear = False
        try:
            solum.TLS.trace.auto_clear = 'fail'
        except __HOLE__:
            pass
        else:
            self.assertTrue(False)
dataset/ETHPy150Open openstack/solum/solum/tests/common/test_trace_data.py/TestTraceData.test_auto_clear