def METHOD_NAME(self):
    photos_to_delete = create_test_photos(
        number_of_photos=2, owner=self.user1, deleted=True
    )
    photos_to_not_delete = create_test_photos(number_of_photos=3, owner=self.user1)
    image_hashes = [p.image_hash for p in photos_to_delete + photos_to_not_delete]
    payload = {"image_hashes": image_hashes}
    headers = {"Content-Type": "application/json"}
    response = self.client.delete(
        "/api/photosedit/delete/", format="json", data=payload, headers=headers
    )
    data = response.json()
    self.assertTrue(data["status"])
    self.assertEqual(2, len(data["results"]))
    self.assertEqual(2, len(data["deleted"]))
    self.assertEqual(3, len(data["not_deleted"]))