summaryrefslogtreecommitdiff
path: root/tests/dbshell/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbshell/tests.py')
-rw-r--r--tests/dbshell/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbshell/tests.py b/tests/dbshell/tests.py
index 3d4ac2fce6..8dd3d22c98 100644
--- a/tests/dbshell/tests.py
+++ b/tests/dbshell/tests.py
@@ -9,9 +9,9 @@ from django.test import SimpleTestCase
class DbshellCommandTestCase(SimpleTestCase):
def test_command_missing(self):
msg = (
- 'You appear not to have the %r program installed or on your path.'
+ "You appear not to have the %r program installed or on your path."
% connection.client.executable_name
)
with self.assertRaisesMessage(CommandError, msg):
- with mock.patch('subprocess.run', side_effect=FileNotFoundError):
- call_command('dbshell')
+ with mock.patch("subprocess.run", side_effect=FileNotFoundError):
+ call_command("dbshell")