diff --git a/docs/testing-and-ci.rst b/docs/testing-and-ci.rst index b896cfd..9aa4a4c 100644 --- a/docs/testing-and-ci.rst +++ b/docs/testing-and-ci.rst @@ -37,7 +37,7 @@ Lets add a test for the polls list. def setUp(self): self.factory = APIRequestFactory() self.view = apiviews.PollViewSet.as_view({'get': 'list'}) - self.uri = '/polls/' + self.uri = '/polls/polls/' def test_list(self): request = self.factory.get(self.uri)