mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
[1.8.x] Fixed typo in runtests.py vendor check.
This commit is contained in:
@@ -235,7 +235,7 @@ def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_labels,
|
|||||||
state = setup(verbosity, test_labels)
|
state = setup(verbosity, test_labels)
|
||||||
extra_tests = []
|
extra_tests = []
|
||||||
|
|
||||||
if test_labels and 'postgres_tests' in test_labels and connection.vendor != 'postgres':
|
if test_labels and 'postgres_tests' in test_labels and connection.vendor != 'postgresql':
|
||||||
if verbosity >= 2:
|
if verbosity >= 2:
|
||||||
print("Removed postgres_tests from tests as we're not running with PostgreSQL.")
|
print("Removed postgres_tests from tests as we're not running with PostgreSQL.")
|
||||||
test_labels.remove('postgres_tests')
|
test_labels.remove('postgres_tests')
|
||||||
|
|||||||
Reference in New Issue
Block a user