Support dropping sh
dependency
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
import sh
|
||||
|
||||
from molecule import util
|
||||
from molecule.command.init import base
|
||||
from molecule.model import schema_v3
|
||||
@ -57,5 +55,5 @@ def test_drivers(
|
||||
|
||||
assert {} == schema_v3.validate(data)
|
||||
|
||||
cmd = sh.yamllint.bake("-s", _molecule_file)
|
||||
cmd = ["yamllint", "-s", _molecule_file]
|
||||
pytest.helpers.run_command(cmd)
|
||||
|
@ -1,7 +1,6 @@
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
from molecule import config
|
||||
from molecule_hetznercloud import driver
|
||||
|
||||
@ -15,13 +14,6 @@ def test_hetznercloud_config_gives_config_object(hetznercloud_instance):
|
||||
assert isinstance(hetznercloud_instance._config, config.Config)
|
||||
|
||||
|
||||
def test_hetznercloud_testinfra_options_property(hetznercloud_instance):
|
||||
assert {
|
||||
"connection": "ansible",
|
||||
"ansible-inventory": hetznercloud_instance._config.provisioner.inventory_file,
|
||||
} == hetznercloud_instance.testinfra_options
|
||||
|
||||
|
||||
def test_hetznercloud_name_property(hetznercloud_instance):
|
||||
assert "hetznercloud" == hetznercloud_instance.name
|
||||
|
||||
|
Reference in New Issue
Block a user