MCPcopy Create free account
hub / github.com/CiscoPSIRT/openVulnQuery / setUp

Method setUp

tests/test_query_client_cvrf.py:157–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 """Unit Test for all function in OpenVulnQueryClient"""
156
157 def setUp(self):
158 self.open_vuln_client = query_client.OpenVulnQueryClient(
159 config.CLIENT_ID,
160 config.CLIENT_SECRET)
161 self.adv_format = "cvrf"
162
163 @mock.patch("query_client.OpenVulnQueryClient.get_request",
164 side_effect=mocked_get_requests)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected