MCPcopy Create free account
hub / github.com/pyca/cryptography / has_flag

Method has_flag

tests/utils.py:910–911  ·  view source on GitHub ↗
(self, flag: str)

Source from the content-addressed store, hash-verified

908 return self.testcase["result"] == "invalid"
909
910 def has_flag(self, flag: str) -> bool:
911 return flag in self.testcase["flags"]
912
913 def cache_value_to_group(self, cache_key: str, func):
914 cache_val = self.testgroup.get(cache_key)

Callers 4

test_dsa_signatureFunction · 0.80
test_ecdsa_signatureFunction · 0.80
should_verifyFunction · 0.80
test_x448Function · 0.80

Calls

no outgoing calls

Tested by 4

test_dsa_signatureFunction · 0.64
test_ecdsa_signatureFunction · 0.64
should_verifyFunction · 0.64
test_x448Function · 0.64