'Delete a textbook by ID'

def test_delete(self):

    resp = self.client.delete(self.url1)
    self.assertEqual(resp.status_code, 204)
    self.reload_course()
    self.assertEqual(self.course.pdf_textbooks, [self.textbook2])
