'Asserts that the logger was not called with either a warning
or an error.'

@contextmanager
def assert_not_logged(self):

    with self.assert_no_error_logged():
        with self.assert_no_warning_logged():
            (yield)
