Pyyaml5.1 (#24529)
* Migrated to PyYAML 5.1 * More intelligent fixing of yaml safe_load Based on https://circleci.com/gh/home-assistant/home-assistant/34831?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
This commit is contained in:
1 parent
970b00b8d6
commit
50d282ff37
6 files changed
+6
-6
No files matched your search
@@ -90,7 +90,7 @@ class TestScene(unittest.TestCase):
|
||||
self.light_1.entity_id, self.light_2.entity_id)
|
||||
|
||||
with io.StringIO(config) as file:
|
||||
doc = yaml_loader.yaml.load(file)
|
||||
doc = yaml_loader.yaml.safe_load(file)
|
||||
|
||||
assert setup_component(self.hass, scene.DOMAIN, doc)
|
||||
common.activate(self.hass, 'scene.test')
|
||||
|
||||
Reference in new issue
Block a user