summaryrefslogtreecommitdiff
path: root/tests/runtests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.py')
-rwxr-xr-xtests/runtests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 6fca3dc6a6..b14bc76ed7 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -439,6 +439,10 @@ if __name__ == "__main__":
if options.selenium:
os.environ['DJANGO_SELENIUM_TESTS'] = '1'
+ if not options.tags:
+ options.tags = ['selenium']
+ elif 'selenium' not in options.tags:
+ options.tags.append('selenium')
if options.bisect:
bisect_tests(options.bisect, options, options.modules, options.parallel)