We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 797b4cb commit 3061ca8Copy full SHA for 3061ca8
tests/commands/test_base.py
@@ -113,7 +113,7 @@ def test_data_from_csv_column_not_found(mock_csv_file):
113
file_path = Path("tests/resources/csv_column_not_found.csv")
114
with pytest.raises(Exception) as exc_info:
115
Command.data_from_csv(file_path, "NonExistentColumn")
116
- assert "Column NonExistentColumn not found on tests/resources/csv_column_not_found.csv" in str(exc_info.value)
+ assert f"Column NonExistentColumn not found on {file_path}" in str(exc_info.value)
117
118
119
@pytest.fixture
0 commit comments