def METHOD_NAME(self):
    """An instructor should be able to update a deposited_file."""
    deposited_file = DepositedFileFactory()
    jwt_token = InstructorOrAdminLtiTokenFactory(
        playlist=deposited_file.file_depository.playlist
    )
    data = {"read": True}
    response = self.client.patch(
        f"/api/filedepositories/{deposited_file.file_depository.id}"
        f"/depositedfiles/{deposited_file.id!s}/",
        data,
        HTTP_AUTHORIZATION=f"Bearer {jwt_token}",
        content_type="application/json",
    )
    self.assertEqual(response.status_code, 200)
    self.assertEqual(
        response.json(),
        {
            "author_name": deposited_file.author_name,
            "file_depository_id": str(deposited_file.file_depository.id),
            "filename": deposited_file.filename,
            "id": str(deposited_file.id),
            "read": True,
            "size": deposited_file.size,
            "upload_state": "pending",
            "uploaded_on": None,
            "url": None,
        },
    )
    deposited_file.refresh_from_db()
    self.assertTrue(deposited_file.read)