From 5bdc754103e42d3cdddc10973583e44ef886a170 Mon Sep 17 00:00:00 2001 From: Javier de la Puente Date: Wed, 9 Oct 2024 17:40:12 +0200 Subject: [PATCH] fix linting --- tests/unit/flask/test_database_migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/flask/test_database_migration.py b/tests/unit/flask/test_database_migration.py index 0364e7a..cb96156 100644 --- a/tests/unit/flask/test_database_migration.py +++ b/tests/unit/flask/test_database_migration.py @@ -174,7 +174,7 @@ def test_migrations_run_second_time_optional_integration_integrated(harness: Har (root / "flask/app/migrate.sh").touch() exec_handler = unittest.mock.MagicMock() exec_handler.return_value = None - harness.handle_exec(container, ['bash', '-eo', 'pipefail', 'migrate.sh'], handler=exec_handler) + harness.handle_exec(container, ["bash", "-eo", "pipefail", "migrate.sh"], handler=exec_handler) harness.begin_with_initial_hooks() # First migration was called. exec_handler.assert_called_once() @@ -182,7 +182,7 @@ def test_migrations_run_second_time_optional_integration_integrated(harness: Har exec_handler = unittest.mock.MagicMock() exec_handler.return_value = None - harness.handle_exec(container, ['bash', '-eo', 'pipefail', 'migrate.sh'], handler=exec_handler) + harness.handle_exec(container, ["bash", "-eo", "pipefail", "migrate.sh"], handler=exec_handler) postgresql_relation_data = { "database": "test-database", "endpoints": "test-postgresql:5432,test-postgresql-2:5432",