diff options
Diffstat (limited to 'tests/dbshell/test_mysql.py')
| -rw-r--r-- | tests/dbshell/test_mysql.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/dbshell/test_mysql.py b/tests/dbshell/test_mysql.py index 7efb97d9cb..6b60e2722e 100644 --- a/tests/dbshell/test_mysql.py +++ b/tests/dbshell/test_mysql.py @@ -59,14 +59,21 @@ class MySqlDbshellCommandTestCase(SimpleTestCase): def test_ssl_certificate_is_added(self): self.assertEqual( ['mysql', '--user=someuser', '--password=somepassword', - '--host=somehost', '--port=444', '--ssl-ca=sslca', 'somedbname'], + '--host=somehost', '--port=444', '--ssl-ca=sslca', + '--ssl-cert=sslcert', '--ssl-key=sslkey', 'somedbname'], self.get_command_line_arguments({ 'NAME': 'somedbname', 'USER': 'someuser', 'PASSWORD': 'somepassword', 'HOST': 'somehost', 'PORT': 444, - 'OPTIONS': {'ssl': {'ca': 'sslca'}}, + 'OPTIONS': { + 'ssl': { + 'ca': 'sslca', + 'cert': 'sslcert', + 'key': 'sslkey', + }, + }, })) def get_command_line_arguments(self, connection_settings): |
