def setUp(self):
super(AnnotationTestCase, self).setUp()
self.client = APIClient()
self.index_create_url = reverse("annotations-list")
self.annotation = {
"annotator_schema_version": "v1.0",
"text": "A note I wrote",
"quote": "the text that was annotated",
"uri": "http://example.com",
"ranges": [
{
"start": "/p[69]/span/span",
"end": "/p[70]/span/span",
"startOffset": 0,
"endOffset": 120
}
]
}
评论列表
文章目录