Commit Graph

10 Commits

Author SHA1 Message Date
medmunds
385d76b53a Move tests out of app module
(Directory structure as suggested in
[Django testing docs][1].)

[1]: https://docs.djangoproject.com/en/1.9/topics/testing/advanced/#using-the-django-test-runner-to-test-reusable-applications
2016-03-21 11:38:58 -07:00
medmunds
4ad2af2469 Allow running specific test cases in runtests 2016-03-06 10:34:23 -08:00
medmunds
921dd5d0d6 Fork from Djrill and rename to "anymail" 2016-02-27 11:16:04 -08:00
medmunds
99ac099081 Remove DjrillAdminSite
Closes #78
2015-05-14 11:00:52 -07:00
medmunds
52de627af1 Clean up test warnings for Django 1.8
* Django 1.8 requires TEMPLATES setting (for admin tests)
* Ignore cycle tag deprecation warnings

One remaining PendingDeprecationWarning: "the imp module is
deprecated in favour of importlib" is coming from six, and has a fix
waiting to land: https://bitbucket.org/gutworth/six/issue/112
2015-05-11 18:09:56 -07:00
medmunds
0b4a210031 Test against SimpleAdminConfig on Django>=1.7.
In test cases, use the same admin setup we recommend to users.
2015-01-16 13:29:43 -08:00
medmunds
55dc242879 Fix tests in Django 1.7
Django 1.7 doesn't include session or auth middleware
in minimal default config. Djrill admin views require auth.
2014-07-28 08:27:55 -07:00
medmunds
1e39e4d5c8 Start testing Django 1.7b1 2014-04-20 14:45:29 -07:00
medmunds
76a90cdf04 Use django.test.runner.DiscoverRunner on Django 1.6+ 2014-04-20 13:56:20 -07:00
medmunds
1bec172611 Testing on backend API calls, using mock; add runtests.py.
Cherry-picked from:
8c26807a - Add runtests.py for testing separately from other Django apps
cd8504b1 - Make tests compatible with setuptools
4ac65b78 - Set up testing on the backend API calls, using mock
2012-10-31 18:15:54 -07:00