Skip to content

Commit e645542

Browse files
author
Maria Carolina Conceição
committed
FR-91: Fix typo in unit tests
1 parent f9157c9 commit e645542

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

entrypoint/entrypoint/pkg_vuln.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ class Vulnerability:
6969
modified: str = NULL_STR
7070
description: str = NULL_STR
7171
installed_ver: str = NULL_STR
72-
fix_available: str = NULL_STR
7372
fixed_ver: str = NULL_STR
73+
fix_available: str = NULL_STR
7474
pkg_path: str = NULL_STR
7575
epss_score: str = NULL_STR
7676
exploit_available: str = NULL_STR

entrypoint/tests/test_pkg_vuln.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_parse_inspector_scan_result(self):
4545
+ "pkg:golang/github.com/test-namespace/pkg-2@v2.4.0"
4646
),
4747
fixed_ver="pkg-1;pkg-2",
48-
fix_availabe="true",
48+
fix_available="true",
4949
pkg_path="/user/local/bin/pkg-1;/tmp/pkg-2",
5050
epss_score="0.00044",
5151
exploit_available="true",
@@ -62,7 +62,7 @@ def test_parse_inspector_scan_result(self):
6262
description="TEST_DESCRIPTION",
6363
installed_ver="pkg:golang/github.com/test-namespace/pkg-3@v3.0.0",
6464
fixed_ver="pkg-3",
65-
fix_availabe="true",
65+
fix_available="true",
6666
pkg_path="/tmp/pkg-3",
6767
epss_score="0.00022",
6868
exploit_available="true",
@@ -79,7 +79,7 @@ def test_parse_inspector_scan_result(self):
7979
description="TEST_DESCRIPTION",
8080
installed_ver="pkg:golang/github.com/test-namespace/pkg-5@v5.0.0",
8181
fixed_ver="pkg-5",
82-
fix_availabe="true",
82+
fix_available="true",
8383
pkg_path="/tmp/pkg-5",
8484
epss_score="0.00022",
8585
exploit_available="true",
@@ -105,7 +105,7 @@ def test_parse_inspector_scan_result(self):
105105
description=pkg_vuln.NULL_STR,
106106
installed_ver=pkg_vuln.NULL_STR,
107107
fixed_ver=pkg_vuln.NULL_STR,
108-
fix_availabe=pkg_vuln.NULL_STR,
108+
fix_available=pkg_vuln.NULL_STR,
109109
pkg_path=pkg_vuln.NULL_STR,
110110
epss_score=pkg_vuln.NULL_STR,
111111
exploit_available=pkg_vuln.NULL_STR,
@@ -131,7 +131,7 @@ def test_parse_inspector_scan_result(self):
131131
+ "pkg:golang/github.com/test-namespace/pkg-3@v3.0.0"
132132
),
133133
fixed_ver="pkg-2;pkg-3",
134-
fix_availabe="true",
134+
fix_available="true",
135135
pkg_path="/tmp/pkg-2;/tmp/pkg-3",
136136
epss_score="0.00044",
137137
exploit_available="true",

0 commit comments

Comments
 (0)