aboutsummaryrefslogtreecommitdiff
path: root/tests/chutney/teardown
blob: 1d00a3872c481d5be8f65ce10bd5939c099eb20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3

# stdlib imports
import sys
import subprocess

# stdlib "from" imports
from pathlib import Path

# local imports
from config import Config

assert __name__ == "__main__"
_SCRIPT_DIR = Path(sys.argv[0]).parent.resolve()

config = Config.load_json(Path(_SCRIPT_DIR).joinpath("arti.run.json"))
config.export_env()

subprocess.check_call([config.chutney, "stop"])