diff options
Diffstat (limited to 'tests/cachestorage/test_cachestorage.py')
-rw-r--r-- | tests/cachestorage/test_cachestorage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachestorage/test_cachestorage.py b/tests/cachestorage/test_cachestorage.py index 34803895..13c7b87a 100644 --- a/tests/cachestorage/test_cachestorage.py +++ b/tests/cachestorage/test_cachestorage.py @@ -40,6 +40,6 @@ class TestCaseJobCache(base.BaseTestCase): """ test_file = os.path.abspath(__file__) with mock.patch("os.path.join", return_value=test_file): - with mock.patch("yaml.load"): + with mock.patch("yaml.safe_load"): with mock.patch("jenkins_jobs.builder.JobCache._lock"): jenkins_jobs.builder.JobCache("dummy").data = None |