MCPcopy Create free account
hub / github.com/doccano/doccano / test_fetch_progress

Method test_fetch_progress

backend/metrics/tests.py:46–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 collaborative_annotation = False
45
46 def test_fetch_progress(self):
47 response = self.assert_fetch(self.project.admin, status.HTTP_200_OK)
48 expected = {"total": 1, "remaining": 0, "complete": 1}
49 self.assertEqual(response.data, expected)
50
51 def test_cannot_affect_others_progress(self):
52 for member in self.project.staffs:

Callers

nothing calls this directly

Calls 1

assert_fetchMethod · 0.80

Tested by

no test coverage detected