Commit Graph

19 Commits (723c78065cb210ee3b426d7ffc06391e912770e7)

Author SHA1 Message Date
Diederik van der Boor 723c78065c PEP8 runtests 2018-01-31 22:56:05 +01:00
Diederik van der Boor d4cf32b5b6 Also show warning via coverage and travis 2018-01-31 22:52:07 +01:00
Diederik van der Boor e21843aef9 Show deprecation warnings during tests 2018-01-31 22:37:11 +01:00
Diederik van der Boor 8d4cb9b151 Added rudimentary admin test cases 2017-09-30 17:47:02 +02:00
Hugo Osvaldo Barrera a507345c6d Move test models into models.py and add migrations
Tests were failing on postgres due to foreign keys pointing to missing
tables.
In order for these tables to be present, we need migrations which
declare depending on `content_type`.
2017-09-06 19:47:18 -03:00
Hugo Osvaldo Barrera a5e0238f49 Run tests with postgres 2017-09-06 19:36:36 -03:00
Tadas Dailyda 0fea8a4d92 tests for abstract/swappable model initialization 2017-07-25 14:02:15 +03:00
Jerome Leclanche 298460c4cf Drop support for Django <1.8, Python <2.7 2017-07-10 09:08:11 +03:00
Diederik van der Boor 3172b41cbb Remove unused import from runtests 2016-08-05 17:16:15 +02:00
Diederik van der Boor 8649bbea67 Improve template settings of #226 to avoid warnings
This makes sure no TEMPLATE_.. settings are fed into Django 1.8+
2016-07-08 12:14:09 +02:00
Petr Dlouhý 37322a75f7 fix test template settings for Django 1.10 2016-06-29 16:15:56 +02:00
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