From: Aviskar KC Date: Tue, 18 Jun 2019 15:12:12 +0000 (+0545) Subject: Use double quotes instead of single quotes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83871fad100d96848b5ba60c5847363be32fa902;p=thirdparty%2Fsqlalchemy%2Falembic.git Use double quotes instead of single quotes --- diff --git a/tests/test_command.py b/tests/test_command.py index 04125d29..f04b1902 100644 --- a/tests/test_command.py +++ b/tests/test_command.py @@ -799,10 +799,10 @@ class CommandLineTest(TestBase): assert len(help_text) < 80 assert not commands, "Commands without help text: %s" % commands - @mock.patch("alembic.command.os.listdir", return_value = ['file1', 'file2']) + @mock.patch("alembic.command.os.listdir", return_value = ["file1", "file2"]) @mock.patch("alembic.command.os.access", return_value = True) def test_init_file_exists_and_is_not_empty(self, mocked_listdir, mocked_access): - directory = 'alembic' + directory = "alembic" assert_raises_message( util.CommandError, "Directory %s already exists and is not empty" % directory,