Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.headers, "$.headers")
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
return matchingRules
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.path, "$.path")
matchingRules.update(get_matching_rules_v2(self.headers, "$.headers"))
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
matchingRules.update(get_matching_rules_v2(self.query, "$.query"))
return matchingRules
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.path, "$.path")
matchingRules.update(get_matching_rules_v2(self.headers, "$.headers"))
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
matchingRules.update(get_matching_rules_v2(self.query, "$.query"))
return matchingRules
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.headers, "$.headers")
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
return matchingRules
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.path, "$.path")
matchingRules.update(get_matching_rules_v2(self.headers, "$.headers"))
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
matchingRules.update(get_matching_rules_v2(self.query, "$.query"))
return matchingRules
def generate_v2_matchingRules(self):
# TODO check there's generation *and* verification tests for all these
matchingRules = get_matching_rules_v2(self.path, "$.path")
matchingRules.update(get_matching_rules_v2(self.headers, "$.headers"))
matchingRules.update(get_matching_rules_v2(self.body, "$.body"))
matchingRules.update(get_matching_rules_v2(self.query, "$.query"))
return matchingRules