From 1f414c1d3c9e48ff252156ab23529d016970ee1a Mon Sep 17 00:00:00 2001 From: LMBooth Date: Tue, 24 Oct 2023 20:47:55 +0100 Subject: [PATCH] Update test_cli.py --- Tests/test_cli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tests/test_cli.py b/Tests/test_cli.py index 38b5694..be0b13d 100644 --- a/Tests/test_cli.py +++ b/Tests/test_cli.py @@ -1,5 +1,5 @@ import subprocess - +import time def run_cli_command(command): process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) stdout, stderr = process.communicate() @@ -13,7 +13,11 @@ def run_cli_command(command): # Example usage def test_cli(): run_cli_command("pybci testSimple --timeout=10") + time.sleep(15) run_cli_command("pybci testSklearn --timeout=10") + time.sleep(15) run_cli_command("pybci testPyTorch --timeout=10") + time.sleep(15) run_cli_command("pybci testTensorflow --timeout=10") + time.sleep(15) assert True \ No newline at end of file