'Test that an observed error gets added to the result'

def test_error(self):

    f = makeFailure()
    self.observer.gotEvent({'message': (), 'time': time.time(), 'isError': 1, 'system': '-', 'failure': f, 'why': None})
    self.assertEqual(self.observer.getErrors(), [f])
