Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Dec 21, 2021
1 parent 87c7d7e commit 1e04368
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unittests/tools/test_nist.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ def test_cve(self):

def setUp(self) -> None:
with patch("httpx.Client.__init__", return_value=None) as mock:
self.vuln = nist.NIST()
self.vuln = nist.NIST(30, 1)
self.cve = dict(totalResults=1, result=dict(CVE_Items=[dict(cve=dict(CVE_data_meta=dict(ID='TEST')))]))


def test_params(self):
self.assertEqual(self.vuln.params, {'cpeMatchString': 'cpe:2.3:*:', 'startIndex': 0, 'resultsPerPage': 50})

Expand Down

0 comments on commit 1e04368

Please sign in to comment.