mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-23 16:44:20 +01:00
➕ refactor: summarize error message without line number
This commit is contained in:
@@ -20,12 +20,11 @@ def test_package_parsing():
|
|||||||
assert set(parsed) == set(expected)
|
assert set(parsed) == set(expected)
|
||||||
|
|
||||||
def test_package_parsing_blacklist():
|
def test_package_parsing_blacklist():
|
||||||
packages_json_string = '''\
|
packages_json_string = [
|
||||||
[
|
|
||||||
["Flask, flask_restful, flask_json, flask_cors, http.server"],
|
["Flask, flask_restful, flask_json, flask_cors, http.server"],
|
||||||
[],
|
[],
|
||||||
[]
|
[]
|
||||||
]'''
|
]
|
||||||
|
|
||||||
parsed_packages = Generator.process_packages_json_string(packages_json_string)
|
parsed_packages = Generator.process_packages_json_string(packages_json_string)
|
||||||
assert parsed_packages == [
|
assert parsed_packages == [
|
||||||
|
|||||||
Reference in New Issue
Block a user