'Check that flushing the observer with no args removes all errors.'

def test_flush(self):

    self.test_error()
    flushed = self.observer.flushErrors()
    self.assertEqual(self.observer.getErrors(), [])
    self.assertEqual(len(flushed), 1)
    self.assertTrue(flushed[0].check(ZeroDivisionError))
