From edd22ea4777e718f0a8c7fc0754fa5a67a0b6a85 Mon Sep 17 00:00:00 2001 From: danlu1 Date: Mon, 28 Oct 2024 05:34:28 +0000 Subject: [PATCH] reformat tests/test_utilities.py --- scripts/table_updates/tests/test_utilities.py | 42 ++++++++++++++++--- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/scripts/table_updates/tests/test_utilities.py b/scripts/table_updates/tests/test_utilities.py index 3433e8ec..c2d54a10 100644 --- a/scripts/table_updates/tests/test_utilities.py +++ b/scripts/table_updates/tests/test_utilities.py @@ -153,16 +153,46 @@ def test_download_empty_synapse_table_with_condition( "input_df,expected_df", [ ( - pd.DataFrame({"col1": ["\\abc", "def"], "col2": ["abc", "def\\"]}), - pd.DataFrame({"col1": ["abc", "def"], "col2": ["abc", "def"]}), + pd.DataFrame( + { + "col1": ["\\abc", "def"], + "col2": ["abc", "def\\"] + } + ), + pd.DataFrame( + { + "col1": ["abc", "def"], + "col2": ["abc", "def"] + } + ), ), ( - pd.DataFrame({"col1": ["abc", "def"], "col2": ["abc", "def\\"]}), - pd.DataFrame({"col1": ["abc", "def"], "col2": ["abc", "def"]}), + pd.DataFrame( + { + "col1": ["abc", "def"], + "col2": ["abc", "def\\"] + } + ), + pd.DataFrame( + { + "col1": ["abc", "def"], + "col2": ["abc", "def"] + } + ), ), ( - pd.DataFrame({"col1": ["abc", "def"], "col2": ["abc", "def"]}), - pd.DataFrame({"col1": ["abc", "def"], "col2": ["abc", "def"]}), + pd.DataFrame( + { + "col1": ["abc", "def"], + "col2": ["abc", "def"] + } + ), + pd.DataFrame( + { + "col1": ["abc", "def"], + "col2": ["abc", "def"] + } + ), ), ( pd.DataFrame(