@validateLogging(None)
    def test_error(self, logger):
        publisher = LogPublisher()
        observer = EliotObserver(publisher)
        observer.logger = logger
        publisher.addObserver(observer)
        # No public API for this unfortunately, so emulate error logging:
        publisher.msg(failure=Failure(ZeroDivisionError("onoes")),
                      why=b"A zero division ono",
                      isError=True)
        message = (u'A zero division ono\nTraceback (most recent call '
                   u'last):\nFailure: exceptions.ZeroDivisionError: onoes\n')
        assertHasMessage(self, logger, TWISTED_LOG_MESSAGE,
                         dict(error=True, message=message))
SQL Script for dropping all the relations for the database
dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/test/test_script.py/EliotObserverTests.test_error--crossover with--dataset/ETHPy150Open coursera/dataduct/dataduct/database/database.py/Database.drop_relations_script