Skip to content

Commit

Permalink
Fix test case with expanded more_info_url
Browse files Browse the repository at this point in the history
  • Loading branch information
cb22 committed Oct 5, 2022
1 parent 320aa5c commit 1134fb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/formatters/test_json.py
Expand Up @@ -29,7 +29,7 @@ def test_render_vulnerabilities_with_remediations(self, get_report_brief_info):
insecure_versions=['4.0.1'], secure_versions=['4.0.4', '3.2.13', '2.2.28'],
latest_version_without_known_vulnerabilities='',
latest_version='4.0.4',
more_info_url='https://pyup.io/packages/pypi/django/')
more_info_url='https://pyup.io/packages/pypi/django/?from=4.0.1&to=4.0.4')

remediations = {
'django': {'vulns_found': 1, 'version': '4.0.1', 'secure_versions': ['2.2.28', '3.2.13', '4.0.4'],
Expand Down Expand Up @@ -103,7 +103,7 @@ def test_render_vulnerabilities_with_remediations(self, get_report_brief_info):
],
"latest_version_without_known_vulnerabilities": "",
"latest_version": "4.0.4",
"more_info_url": "https://pyup.io/packages/pypi/django/"
"more_info_url": "https://pyup.io/packages/pypi/django/?from=4.0.1&to=4.0.4"
}
},
"announcements": [],
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_render_vulnerabilities_with_remediations(self, get_report_brief_info):
"2.2.28",
"3.2.13"
],
"more_info_url": "https://pyup.io/packages/pypi/django/"
"more_info_url": "https://pyup.io/packages/pypi/django/?from=4.0.1&to=4.0.4"
}
}
},
Expand Down

0 comments on commit 1134fb9

Please sign in to comment.