diff options
| author | msg <msg@clinc.com> | 2019-04-01 19:34:11 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-04 08:33:28 +0200 |
| commit | 755673e1bca7edb6bee7a958f40d9ae54d85d44c (patch) | |
| tree | fdf73eef79d0dd165712731ce53c640e336fc88c /tests | |
| parent | 1ffddfc233e2d5139cc6ec31a4ec6ef70b10f87f (diff) | |
Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/backends/oracle/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/oracle/tests.py b/tests/backends/oracle/tests.py index baf2b083ff..a0d49854d9 100644 --- a/tests/backends/oracle/tests.py +++ b/tests/backends/oracle/tests.py @@ -87,7 +87,7 @@ class TransactionalTests(TransactionTestCase): old_password = connection.settings_dict['PASSWORD'] connection.settings_dict['PASSWORD'] = 'p@ssword' try: - self.assertIn('/\\"p@ssword\\"@', connection._connect_string()) + self.assertIn('/"p@ssword"@', connection._connect_string()) with self.assertRaises(DatabaseError) as context: connection.cursor() # Database exception: "ORA-01017: invalid username/password" is |
