Skip to content

Commit 7707390

Browse files
author
MrButtCode
committed
style: remove trailing whitespace to resolve pycodestyle CI failure
1 parent 97744d4 commit 7707390

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class QueuedSampleNotFoundException(Exception):
66
"""Raised when a queued sample cannot be found by the given ID."""
7-
7+
88
def __init__(self, message="Queued sample not found."):
99
# By providing a default, all existing raise sites that call
1010
# this exception without arguments will still work, and new

tests/test_upload/test_controllers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_link_id_confirm_valid(self, mock_g, mock_sample, mock_queue, mock_redir
188188

189189
# Mock g.user to have an 'id' attribute to satisfy the controller
190190
mock_g.user.id = 1
191-
191+
192192
# Ensure the mocked database queries return an object owned by that user
193193
mock_queue.query.filter.return_value.first.return_value.user_id = mock_g.user.id
194194
mock_sample.query.filter.return_value.first.return_value.upload.user_id = mock_g.user.id

0 commit comments

Comments
 (0)