Commit cfd4801
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).1 parent cc48a14 commit cfd4801
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments