Browse Source

Merge "testinfra: silence yaml.load() warnings"

changes/92/741692/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
fdb446f0e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      testinfra/conftest.py

+ 1
- 1
testinfra/conftest.py View File

@@ -8,7 +8,7 @@ def zuul_data():
data = {}

with open('/home/zuul/src/opendev.org/opendev/system-config/inventory/base/gate-hosts.yaml') as f:
inventory = yaml.load(f)
inventory = yaml.safe_load(f)
data['inventory'] = inventory

zuul_extra_data_file = os.environ.get('TESTINFRA_EXTRA_DATA')


Loading…
Cancel
Save