aboutsummaryrefslogtreecommitdiffstats
path: root/api/tests
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-08-16 20:53:38 +0200
committerGravatar Johannes Christ <[email protected]>2018-08-16 20:53:38 +0200
commita32fdf1521515506d4bb64fa2d706d2070595003 (patch)
treeeef95582f7ae8e6c17eee208daf84fcaa2a48a17 /api/tests
parentNamespace `bot` endpoints. (diff)
Small documentation fixes.
Diffstat (limited to 'api/tests')
-rw-r--r--api/tests/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/tests/base.py b/api/tests/base.py
index 01286ca0..aa8157bc 100644
--- a/api/tests/base.py
+++ b/api/tests/base.py
@@ -22,7 +22,7 @@ class APISubdomainTestCase(APITestCase):
>>> from api.test.base import APISubdomainTestCase
>>> class UnauthedUserTestCase(APISubdomainTestCase):
... def setUp(self):
- ... super().setUp(self)
+ ... super().setUp()
... self.client.force_authentication(user=None)
... def test_can_read_objects_at_my_endpoint(self):
... resp = self.client.get('/my-publicly-readable-endpoint')