Skip to content

Commit 384bfec

Browse files
bosdbosd
authored andcommitted
Fixup test importer
1 parent f0ecfe2 commit 384bfec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_importer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ def test_run_import_infers_model_from_filename(
3434
def test_run_import_no_model_fails(
3535
mock_log_error: MagicMock, mock_import_data: MagicMock, tmp_path: Path
3636
) -> None:
37-
"""Tests that the import fails if no model can be inferred from the filename."""
37+
"""Test import with no fails.
38+
39+
Tests that the import fails if no model can be inferred from the filename.
40+
"""
3841
# 1. Setup: A filename starting with a dot will result in an invalid model name.
3942
bad_file = tmp_path / ".badfilename"
4043
bad_file.touch()

0 commit comments

Comments
 (0)