Commit Graph

8 Commits

Author SHA1 Message Date
Ryan P Kilby a5fb0850fb Consolidate shell/test settings, replace syncdb w/ migrate 2015-11-23 03:06:24 -05:00
Ryan P Kilby 4eff26e5c4 Fixes #290, handles deprecation notices 2015-11-23 00:19:25 -05:00
Florian Apolloner 9491a50a1a Fixed warnings in the testsuite. 2014-07-27 12:27:06 +02:00
Florian Apolloner b6fdb0904b Don't use discover runner on Django 1.6 2013-06-12 18:31:21 +02:00
Florian Apolloner a89a83772a renamed test_django_filters to tests.
Thanks to Donald Stufft for the heads up
2013-03-12 19:38:12 +01:00
nkryptic ea2e1fc61c add coverage.py for travis tests and some import/pep8 cleanup 2013-02-25 17:13:39 -05:00
nkryptic c3d51c1005 major refactor of the tests:
* moves tests package to root of project and renames it to test_django_filters
* splits tests.py into multiple files
* removes fixture need by creating instances on the fly
** attempted to use factory_boy instead, but it isn't py3k compatible yet
* uses django-discover-runner to find the test cases

while primarily focused on test refactoring, it also:
* updates runtests.py to allow more flexibility when running tests
* adds a runshell.py which configures django, runs syncdb and loads the test environment shell (in-memory sqlite db)
* adds pip requirements files for new test dependencies
* updates MANIFEST.in for test package split
* uses py3k compatible relative imports when possible
* removes XMLField handling, since we only support Django >= 1.4
* removes unnecessary code to get length on MultipleChoiceField's choices when filtering
* updates code for pep8 and pyflakes adherence
2013-02-18 20:07:28 -05:00
Tom Christie 2c77f50322 Use runtests.py style for tests 2012-10-12 20:40:36 +01:00