Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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).
- Loading branch information