From c1eb210253e11ef4affbf5171f07b0250920181c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 26 Jan 2023 15:09:35 -0800 Subject: [PATCH] Fix code style flake issue. --- tests/unit/hooks/test_mongodb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/hooks/test_mongodb.py b/tests/unit/hooks/test_mongodb.py index 44cd34a..6e1cb3d 100644 --- a/tests/unit/hooks/test_mongodb.py +++ b/tests/unit/hooks/test_mongodb.py @@ -257,13 +257,13 @@ def test_restore_database_dump_runs_mongorestore_with_username_and_password(): def test_restore_database_dump_runs_mongorestore_with_options(): - database_config = [{'name': 'foo', 'restore_options': '--harder',}] + database_config = [{'name': 'foo', 'restore_options': '--harder'}] extract_process = flexmock(stdout=flexmock()) flexmock(module).should_receive('make_dump_path') flexmock(module.dump).should_receive('make_database_dump_filename') flexmock(module).should_receive('execute_command_with_processes').with_args( - ['mongorestore', '--archive', '--drop', '--db', 'foo', '--harder',], + ['mongorestore', '--archive', '--drop', '--db', 'foo', '--harder'], processes=[extract_process], output_log_level=logging.DEBUG, input_file=extract_process.stdout,