Django-celery expects me to set
TEST_RUNNER = 'djcelery.contrib.test_runner.CeleryTestSuiteRunner'
and django-selenium expects me to set
TEST_RUNNER = 'django_selenium.selenium_runner.SeleniumTestRunner'.
How can I have both, i.e., both tests that run celery tasks locally and tests that use selenium to control a browser?
you could probably define your own test runner that inherits from them both
(looking at the source for the two, the celery one actually just sets some settings)
so make some file e.g.
myapp.test_runner, withand then set