1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #25653 -- Made --selenium run only the selenium tests.

This commit is contained in:
Akshesh
2016-02-19 13:56:13 -05:00
committed by Tim Graham
parent 032f5a7896
commit 6670da75ff
4 changed files with 11 additions and 2 deletions

View File

@@ -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)