]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Use double quotes instead of single quotes
authorAviskar KC <aviskarkc10@gmail.com>
Tue, 18 Jun 2019 15:12:12 +0000 (20:57 +0545)
committerAviskar KC <aviskarkc10@gmail.com>
Tue, 18 Jun 2019 15:12:12 +0000 (20:57 +0545)
tests/test_command.py

index 04125d296f9567a54ceb03715812c89297e993c2..f04b190245e0f2c706aee6789ba2eba871f024cf 100644 (file)
@@ -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,