@validateLogging(None)
    def test_writeFailure(self, logger):
        if Failure is None:
            raise SkipTest("Twisted unavailable")

        try:
            raise RuntimeError("because")
        except:
            failure = Failure()
            expectedTraceback = failure.getBriefTraceback()
            writeFailure(failure, logger)
        message = logger.messages[0]
        assertContainsFields(self, message,
                             {"message_type": "eliot:traceback",
                              "exception": RuntimeError,
                              "reason": failure.value,
                              "traceback": expectedTraceback})
        logger.flushTracebacks(RuntimeError)
Get the query params and validate placeholders
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_traceback.py/TracebackLoggingTests.test_writeFailure--crossover with--dataset/ETHPy150Open project-fondue/python-yql/yql/__init__.py/Public.get_query_params