'Delete a textbook by ID, when the ID doesn\'t match an existing textbook'

def test_delete_nonexistant(self):

    resp = self.client.delete(self.url_nonexist)
    self.assertEqual(resp.status_code, 404)
    self.reload_course()
    self.assertEqual(self.course.pdf_textbooks, [self.textbook1, self.textbook2])
