Skip to content

Commit

Permalink
test: Fix test expectations for 801d0f7
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 16, 2024
1 parent b38aacb commit ae9bdc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down

0 comments on commit ae9bdc4

Please sign in to comment.