Add coophost and coopaas experimental commands
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from subprocess import STDOUT
|
||||
|
||||
from autonomic.utils import is_proc, qlist, run, yaml_dump, yaml_load
|
||||
from autonomic.utils import is_proc, run, yaml_dump, yaml_load
|
||||
|
||||
|
||||
def test_run_kwargs():
|
||||
@ -18,20 +18,6 @@ def test_run_cwd(tmp_path):
|
||||
assert "testfile.txt" in output
|
||||
|
||||
|
||||
def test_make_qlist():
|
||||
output = qlist("foo", "bar", ["bang"])
|
||||
|
||||
expected = {
|
||||
"type": "list",
|
||||
"name": "foo",
|
||||
"message": "bar",
|
||||
"choices": ["bang"],
|
||||
}
|
||||
|
||||
for key, val in expected.items():
|
||||
assert expected[key] == output[0][key]
|
||||
|
||||
|
||||
def test_yaml_load(tmp_path):
|
||||
directory = tmp_path / "test"
|
||||
directory.mkdir()
|
||||
|
Reference in New Issue
Block a user