Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tox pass selenium environment variables #1892

Merged
merged 1 commit into from
Mar 11, 2024

Commits on Mar 11, 2024

  1. Make tox pass selenium environment variables

    When running tox, pass through the user's DISPLAY and
    DJANGO_SELENIUM_TESTS environment variables, so that
    
        DJANGO_SELENIUM_TESTS=true tox
    
    will actually run the Selenuim integration tests.  Without this change,
    the test suite never sees the DJANGO_SELENIUM_TESTS variable and thus
    skips the integration tests.  Without DISPLAY, the integration tests
    will error out (unless CI is present in the environment to instruct the
    test suite to run the Selenium webdriver in headless mode).
    living180 committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0e4e348 View commit details
    Browse the repository at this point in the history