aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/accept.py
diff options
context:
space:
mode:
authorTom Christie2011-04-11 17:13:11 +0100
committerTom Christie2011-04-11 17:13:11 +0100
commit18bbda84b9c663fec6eede112a21cf1a48103303 (patch)
tree841d1a167b823cbca7a5c487f6dbee4346db4b24 /djangorestframework/tests/accept.py
parent6096b50dbe20349144aa92660c6c8467f67f50e7 (diff)
downloaddjango-rest-framework-18bbda84b9c663fec6eede112a21cf1a48103303.tar.bz2
depercate auth and content arguments to the request handler methods - yea :)
Diffstat (limited to 'djangorestframework/tests/accept.py')
-rw-r--r--djangorestframework/tests/accept.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/accept.py b/djangorestframework/tests/accept.py
index f2a21277..726e1252 100644
--- a/djangorestframework/tests/accept.py
+++ b/djangorestframework/tests/accept.py
@@ -20,7 +20,7 @@ class UserAgentMungingTest(TestCase):
def setUp(self):
class MockResource(Resource):
anon_allowed_methods = allowed_methods = ('GET',)
- def get(self, request, auth):
+ def get(self, request):
return {'a':1, 'b':2, 'c':3}
self.req = RequestFactory()
self.MockResource = MockResource