From 47bae52ff305a645b01651dc5d63495e254d2f68 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 20 Dec 2024 13:24:43 +0000 Subject: [PATCH] remove print statement --- tests/test_cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 9bef725..02a680d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -27,8 +27,7 @@ def test_app(outpath: str | bool): ) as mock_calculate_optimal_voltages, ): mock_calculate_optimal_voltages.return_value = np.array([72.14, 50.98, 18.59]) - if outpath is not False: - print("\n\n\n\n\n\n") + if type(outpath) is str: result = runner.invoke( app, [ @@ -38,7 +37,6 @@ def test_app(outpath: str | bool): f"{outpath}", ], ) - print("aaa") elif not outpath: result = runner.invoke( app, ["calculate-voltages", "tests/data/raw_data.csv"]