Skip to content
Snippets Groups Projects
Commit 80390649 authored by dilawar's avatar dilawar :ant:
Browse files

temp: Testing the ci pipeline.

parent 60d6bb05
No related branches found
No related tags found
1 merge request!2version 0.2.0
Pipeline #3739 failed with stages
in 1 minute and 55 seconds
import sys
import shlex
from pathlib import Path
import subprocess
def run_command(cmd: str, args: str):
cmd = f"{sys.executable} -m bitia {cmd} {args}"
print(f"Executing `{cmd}`")
return subprocess.check_output(cmd)
print(f"Executing `{shlex.split(cmd)}`")
assert Path(sys.executable).is_file()
p = subprocess.run(shlex.split(cmd), capture_output=True)
return p.stdout
def test_cli_sanity():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment