Skip to content

Commit

Permalink
Update test_cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBooth committed Oct 24, 2023
1 parent 69a8626 commit 1f414c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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

0 comments on commit 1f414c1

Please sign in to comment.