Commit Graph

6 Commits

Author SHA1 Message Date
Ryan P Kilby 8feac3930b Fix runshell sync behavior 2016-04-12 12:35:54 -04:00
Ryan P Kilby a5fb0850fb Consolidate shell/test settings, replace syncdb w/ migrate 2015-11-23 03:06:24 -05:00
Ryan P Kilby 4edfe5910c Fix runshell compatibility with django >= 1.7 2015-10-15 02:19:58 -04: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