Skip to content

Commit 0e4d9d3

Browse files
committed
Fixed tests
1 parent b06032a commit 0e4d9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appointment/tests/utils/test_db_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ def test_exclude_with_pending_reschedules_within_last_5_minutes(self):
11051105
reason_for_rescheduling="Client request"
11061106
)
11071107
filtered_slots = exclude_pending_reschedules(self.slots, self.staff_member1, self.date)
1108-
self.assertEqual(len(filtered_slots), len(self.slots) -1) # Assuming only one slot overlaps
1108+
self.assertEqual(len(filtered_slots), len(self.slots) - 1) # Assuming only one slot overlaps
11091109

11101110
def test_exclude_with_non_pending_reschedules_within_last_5_minutes(self):
11111111
"""Slots should remain unchanged if reschedules within the last 5 minutes are not pending."""

0 commit comments

Comments
 (0)