diff options
| author | Zuul <zuul@review.opendev.org> | 2019-12-16 15:00:56 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2019-12-16 15:00:56 +0000 |
| commit | 63d877945d1474296ab6ba45ad3e6dcd753081f1 (patch) | |
| tree | cb0c2c61eba8fc9ef8df717c23d277431691e243 /tests/cmd | |
| parent | 2ea9841a9696d7e8c7cc9281dfd8de4498926090 (diff) | |
| parent | 0b4ed38ca6c50f61636fd98bedf759f2198ac5e4 (diff) | |
| download | python-jenkins-job-builder-3.2.0.tar.gz python-jenkins-job-builder-3.2.0.tar.xz python-jenkins-job-builder-3.2.0.zip | |
Merge "Fix the yaml load warning."3.2.0
Diffstat (limited to 'tests/cmd')
| -rw-r--r-- | tests/cmd/subcommands/test_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmd/subcommands/test_test.py b/tests/cmd/subcommands/test_test.py index 1e0234a9..ee7d93a7 100644 --- a/tests/cmd/subcommands/test_test.py +++ b/tests/cmd/subcommands/test_test.py @@ -213,7 +213,7 @@ class TestTests(CmdTestsBase): self.execute_jenkins_jobs_with_args(args) with io.open(plugins_info_stub_yaml_file, "r", encoding="utf-8") as yaml_file: - plugins_info_list = yaml.load(yaml_file) + plugins_info_list = yaml.safe_load(yaml_file) registry_mock.assert_called_with(mock.ANY, plugins_info_list) |
