Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7873081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:24:24+00:00 2026-06-03T02:24:24+00:00

Django-celery expects me to set TEST_RUNNER = ‘djcelery.contrib.test_runner.CeleryTestSuiteRunner’ and django-selenium expects me to set

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:24:26+00:00Added an answer on June 3, 2026 at 2:24 am

    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, with

    from djcelery.contrib.test_runner import CeleryTestSuiteRunner
    django_selenium.selenium_runner import SeleniumTestRunner
    
    class MyRunner(CeleryTestSuiteRunner, SeleniumTestRunner):
        pass
    

    and then set

    TEST_RUNNER = 'myproject.myapp.test_runner.MyRunner'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to set DEBUG=False for only a specific app in Django? Celery
The Django Celery documentation suggests there are URLs I can check to get the
I use: Celery Django-Celery RabbitMQ I can see all my tasks in the Django
Is it possible to set a different database to be used with Django Celery?
When I issue a runserver command, an ImportError is raised from djcelery (Django Celery).
I looked at django-celery tutorial and I think it will really help me running
Django tutorials everywhere use constant-set application name all around - in urls file, in
Im running some tasks via django-celery (with rabbitmq as backend), the tasks are time
I'm writing a Django app that uses celery. So far I've been running on
I have a Django project that uses Celery for running asynchronous tasks. I'm doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.