Fix ansible-lint error on double quote (#37)

This commit is contained in:
Sébastien 2019-07-23 17:00:01 +02:00 committed by Andrea Tosatto
parent d79b215a01
commit 0bceb1d5d8
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
@pytest.fixture() @pytest.fixture()
def AnsibleDefaults(): def AnsibleDefaults():
with open("../../defaults/main.yml", 'r') as stream: with open('../../defaults/main.yml', 'r') as stream:
return yaml.load(stream) return yaml.load(stream)
@ -42,4 +42,4 @@ def test_minio_server_data_directories(host, AnsibleDefaults, minio_datadir):
def test_minio_server_webserver(host): def test_minio_server_webserver(host):
host.socket("tcp://127.0.0.1:80").is_listening host.socket('tcp://127.0.0.1:80').is_listening

View File

@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
@pytest.fixture() @pytest.fixture()
def AnsibleDefaults(): def AnsibleDefaults():
with open("../../defaults/main.yml", 'r') as stream: with open('../../defaults/main.yml', 'r') as stream:
return yaml.load(stream) return yaml.load(stream)

View File

@ -10,7 +10,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
@pytest.fixture() @pytest.fixture()
def AnsibleDefaults(): def AnsibleDefaults():
with open("../../defaults/main.yml", 'r') as stream: with open('../../defaults/main.yml', 'r') as stream:
return yaml.load(stream) return yaml.load(stream)
@ -40,4 +40,4 @@ def test_minio_server_data_directories(host, AnsibleDefaults):
def test_minio_server_webserver(host): def test_minio_server_webserver(host):
host.socket("tcp://127.0.0.1:9091").is_listening host.socket('tcp://127.0.0.1:9091').is_listening