Fix ruff W293 error - remove whitespace from blank line
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -186,7 +186,7 @@ class TestSendToAllDestinations:
|
|||||||
def test_file_not_found_error(self, mock_log):
|
def test_file_not_found_error(self, mock_log):
|
||||||
"""Test that FileNotFoundError is raised when file doesn't exist."""
|
"""Test that FileNotFoundError is raised when file doesn't exist."""
|
||||||
result = send_to_all_destinations.apply(args=["/nonexistent/file.pdf"])
|
result = send_to_all_destinations.apply(args=["/nonexistent/file.pdf"])
|
||||||
|
|
||||||
# When task raises an exception, result.failed() returns True
|
# When task raises an exception, result.failed() returns True
|
||||||
assert result.failed()
|
assert result.failed()
|
||||||
# The exception should be FileNotFoundError
|
# The exception should be FileNotFoundError
|
||||||
|
|||||||
Reference in New Issue
Block a user