Skip to content

Commit 02ef0eb

Browse files
committed
docs: update language in test_requirements.py
1 parent 7e97072 commit 02ef0eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_requirements.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_out_of_sync_packages(
7272
return new_packages, removed_packages
7373

7474

75-
# Test to check if the requirements.csv files are in sync with requirements.txt files
75+
# Test to check if the requirements.csv files are in sync with project dependencies
7676
def test_txt_csv_sync() -> None:
7777
errors: set[str] = set()
7878

@@ -98,11 +98,11 @@ def test_txt_csv_sync() -> None:
9898
)
9999
if req_removed_packages != set():
100100
errors.add(
101-
f"The requirements.txt and requirements.csv files of cve-bin-tool are out of sync! Please remove {', '.join(req_removed_packages)} from the respective requirements.csv file\n"
101+
f"The pyproject.toml and requirements.csv files of cve-bin-tool are out of sync! Please remove {', '.join(req_removed_packages)} from the respective requirements.csv file\n"
102102
)
103103
if req_new_packages != set():
104104
errors.add(
105-
f"The requirements.txt and requirements.csv files of cve-bin-tool are out of sync! Please add {', '.join(req_new_packages)} to the respective requirements.csv file\n"
105+
f"The pyproject.toml and requirements.csv files of cve-bin-tool are out of sync! Please add {', '.join(req_new_packages)} to the respective requirements.csv file\n"
106106
)
107107

108108
assert errors == set(), f"The error(s) are:\n {''.join(errors)}"

0 commit comments

Comments
 (0)