def request_index_id(self): matchers = u"".join([u''.join( x.split()).strip() for x in self.contains_matchers() or []]) return compute_hash(u"".join([self.scenario_name, matchers, self.request_path() or "", self.request_method(), self.request_query_args() or ""]))
def request_index_id(self): matchers = u"".join([ u''.join(x.split()).strip() for x in self.contains_matchers() or [] ]) return compute_hash(u"".join([ self.scenario_name, matchers, self.request_path() or "", self.request_method(), self.request_query_args() or "" ]))
def response_hash(response_body, stub): return compute_hash(u"".join([response_body, str(stub.response_status())]))
def id(self): return compute_hash(u"".join([self.request_body(), self.path or "", self.method, self.query]))
def id(self): return compute_hash(u"".join( [self.request_body(), self.path or "", self.method, self.query]))