Commit Graph

4 Commits

Author SHA1 Message Date
Adam Dobrawy 3a9cfaf797 Tidy up requirements - see #305 2016-07-13 23:30:28 +02:00
Carlton Gibson 1b24a6da58 Specify coverage version for Travis 2015-11-13 09:10:15 +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