mirror of
https://github.com/Hopiu/django.git
synced 2026-04-27 02:04:49 +00:00
Restored a test broken by overzealous PEP8 cleanup
This commit is contained in:
parent
fbe1abac4a
commit
720c6d3a44
1 changed files with 2 additions and 0 deletions
|
|
@ -388,6 +388,8 @@ class PostgresNewConnectionTests(TestCase):
|
|||
new_connection = new_connections[DEFAULT_DB_ALIAS]
|
||||
try:
|
||||
new_connection.settings_dict['AUTOCOMMIT'] = False
|
||||
# Open a database connection.
|
||||
new_connection.cursor()
|
||||
self.assertFalse(new_connection.get_autocommit())
|
||||
finally:
|
||||
new_connection.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue