diff options
Diffstat (limited to 'functest_kubernetes/test_k8stest.py')
-rw-r--r-- | functest_kubernetes/test_k8stest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest_kubernetes/test_k8stest.py b/functest_kubernetes/test_k8stest.py index b03bb6dc..a94fdf88 100644 --- a/functest_kubernetes/test_k8stest.py +++ b/functest_kubernetes/test_k8stest.py @@ -64,6 +64,7 @@ class K8sTests(unittest.TestCase): mock_logger.exception.assert_called_with( "Error with running kubetest:") + @mock.patch('six.moves.builtins.open', mock.mock_open()) @mock.patch('functest_kubernetes.k8stest.os.path.isfile') @mock.patch('functest_kubernetes.k8stest.subprocess.Popen') def test_run(self, mock_open, mock_isfile): |