From ae9bdc402c382740359269ee96fcbb4cec4fb273 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 16 May 2024 17:23:41 -0400 Subject: [PATCH] test: Fix test expectations for 801d0f7 --- tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_views.py b/tests/test_views.py index 787b79d3..6eb164fd 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -92,13 +92,13 @@ def test_close_ok_full(self): collection_id__in=[collection_id, upgraded_collection.id], note=f"Spider close reason: {data['reason']}" ) - self.assertEqual(len(notes_reason), 2) + self.assertEqual(len(notes_reason), 1) notes_reason_stats = CollectionNote.objects.filter( collection_id__in=[collection_id, upgraded_collection.id], note="Spider stats", data=data["stats"] ) - self.assertEqual(len(notes_reason_stats), 2) + self.assertEqual(len(notes_reason_stats), 1) def test_destroy_nonexistent(self): response = self.client.delete(f"{base_url}/100/")