Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def record_assertion_failure(self, assertion_name, target_response, failure_message):
self.record_event(AssertionFailure(assertion_name, target_response, failure_message))
def __init__(self, assertion_name, response, failure_message):
super(AssertionFailure, self).__init__()
self.name = assertion_name
self.response = response
self.failure_message = failure_message