Commit Graph

8 Commits (fea5f5a77e72c1249bac5dc832c77c30381dc221)

Author SHA1 Message Date
Austin Matsick 4aece2b5d3 #216 Use self._state.db instead of `using` kwarg in model methods.
Thanks to @vdboor for the suggestion.

Also:
- Add missing `using` kwargs in query_translate functions.
- Add a couple unit tests for non-default database functionality.
2016-05-30 18:55:03 -05:00
Diederik van der Boor 137139f2bb Fix other PEP8 issues in assorted files 2015-12-28 17:39:04 +01:00
Diederik van der Boor c2b7e75125 Improve runtests.py to run specific tests 2015-12-28 16:20:12 +01:00
Hugo Osvaldo Barrera 977c73c4c3 Make runtests compatible with older django versions again 2015-12-16 10:31:36 -03:00
Hugo Osvaldo Barrera adcad20b48 Update all tests (and runtests.py) 2015-12-16 10:31:36 -03:00
Diederik van der Boor 45b6975f8e runtests: declare TEST_RUNNER to avoid Django 1.7 check warnings. 2014-09-22 16:44:06 +02:00
Diederik van der Boor 263e569f4e modernize runtests to fix app loading 2014-09-22 15:15:17 +02:00
Diederik van der Boor 1df5b5ff03 Add runtests script
Allow `python setup.py test` too.
Fix tox invocation now that `manage.py` has moved.
2013-04-05 09:52:53 +02:00