def test_error(self):
        message = "Drats!"
        data = "I am the plural form of datum."
        code = 9001
        self.jsend_rh.error(message=message, data=data, code=code)
        assert self.jsend_rh._buffer == {
            'status': 'error', 'message': message, 'data': data, 'code': code}
Test for skipped datasets, test two: check log file.
dataset/ETHPy150Open hfaran/Tornado-JSON/tests/test_tornado_json.py/TestJSendMixin.test_error--crossover with--dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_abstract_ingester.py/TestIngester.test_skip_two_log