Skip to content

Commit

Permalink
CLEANUP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Bredehöft committed Jul 8, 2015
1 parent ff33c44 commit 703924a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions drf_tools/test/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,10 @@ def testGETList(self):
modelCount = len(modelList)
queryParams = {self._PAGE_SIZE_FIELD_NAME: modelCount}
modelsByUrl = {self._getAbsoluteDetailURI(model): model for model in modelList}
print(modelsByUrl)
wildCardedParentLookups = self._getWildcardedParentLookups(self._getModelClass())
print(wildCardedParentLookups)
resp = self._doGETList(self._getModelClass(), queryParams, wildCardedParentLookups)
self.assertEqual(200, resp.status_code, resp.content)
stateAttrs, linkAttrs, embeddedAttrs = self._splitContent(resp.data)
print(resp.data)
self.assertEqual(stateAttrs[self._COUNT_FIELD_NAME], modelCount)
self.assertEqual(stateAttrs[self._PAGE_SIZE_FIELD_NAME], modelCount)
self.assertEqual(linkAttrs[self._SELF_FIELD_NAME], "{}?{}={}".format(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='drf-tools',
version="0.9.10",
version="0.9.11",
url='https://github.com/seebass/drf-tools',
license='MIT',
description='Multiple extensions and test utilities for Django REST Framework 3',
Expand Down

0 comments on commit 703924a

Please sign in to comment.