diff options
| author | msg <msg@clinc.com> | 2019-04-01 19:34:11 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-04 10:07:57 +0200 |
| commit | 1279fb4a00c23ab0b9aeff8dd205661d4e9a8110 (patch) | |
| tree | d90943ac551965743333d2bd043a2950905c2e18 /tests | |
| parent | 429502c3769d5a108b7aaadb458b458bbd59900e (diff) | |
[2.2.x] Fixed #30307 -- Fixed incorrect quoting of database user password when using dbshell on Oracle.
Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.
Backport of 755673e1bca7edb6bee7a958f40d9ae54d85d44c from master
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 333d224b3f..6a883cca2d 100644 --- a/tests/backends/oracle/tests.py +++ b/tests/backends/oracle/tests.py @@ -88,7 +88,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 |
