From d944f7508b20bebc0d414c3385d83b4e2deb807a Mon Sep 17 00:00:00 2001 From: Ce Gao Date: Fri, 23 Mar 2018 14:42:29 +0800 Subject: [PATCH] release: Fix style (#498) Signed-off-by: Ce Gao --- py/release.py | 2 +- py/release_test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py/release.py b/py/release.py index ba36759fcb..7087fa7b6c 100755 --- a/py/release.py +++ b/py/release.py @@ -176,7 +176,7 @@ def build_operator_image(root_dir, "build/images/tf_operator/Dockerfile", "examples/tf_sample/tf_sample/tf_smoke.py", os.path.join(go_path, bin_path, "tf-operator"), - os.path.join(go_path, bin_path,"e2e"), + os.path.join(go_path, bin_path, "e2e"), os.path.join(go_path, bin_path, "backend"), "dashboard/frontend/build" ] diff --git a/py/release_test.py b/py/release_test.py index e61dd173e4..7b0ef714a9 100644 --- a/py/release_test.py +++ b/py/release_test.py @@ -36,11 +36,11 @@ def test_build_postsubmit( # pylint: disable=no-self-use @mock.patch("py.release.util.install_go_deps") @mock.patch("py.release.util.clone_repo") @mock.patch("py.release.build_and_push") - def test_build_pr( + def test_build_pr(# pylint: disable=no-self-use self, mock_build_and_push, mock_clone, - _mock_install, # pylint: disable=no-self-use + _mock_install, _mock_os, _mock_makedirs): parser = release.build_parser()