fix tests
This commit is contained in:
parent
b593c36f12
commit
bd9cf30976
@ -92,7 +92,7 @@ def test_compile_import_statement(
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_compile_imports(import_dict: ParsedImportDict, test_dicts: List[dict]):
|
||||
def test_compile_imports(import_dict: ParsedImportDict, test_dicts: list[dict]):
|
||||
"""Test the compile_imports function.
|
||||
|
||||
Args:
|
||||
@ -103,7 +103,7 @@ def test_compile_imports(import_dict: ParsedImportDict, test_dicts: List[dict]):
|
||||
for import_dict, test_dict in zip(imports, test_dicts):
|
||||
assert import_dict["lib"] == test_dict["lib"]
|
||||
assert import_dict["default"] == test_dict["default"]
|
||||
assert sorted(import_dict["rest"]) == test_dict["rest"]
|
||||
assert import_dict["rest"] == test_dict["rest"]
|
||||
|
||||
|
||||
def test_compile_stylesheets(tmp_path, mocker):
|
||||
|
Loading…
Reference in New Issue
Block a user