1d0758bad42918d0344f18e57d1d13747705f855,testing/test_deploy.py,,setup_kubeflow_ks_app,#Any#Any#,93
Before Change
// because we will probably want to use it in other places as well.
def setup_kubeflow_ks_app(args, api_client):
Create a ksonnet app for Kubeflow
if not os.path.exists(args.test_dir):
os.makedirs(args.test_dir)
logging.info("Using test directory: %s", args.test_dir)
namespace_name = args.namespace
After Change
// because we will probably want to use it in other places as well.
def setup_kubeflow_ks_app(args, api_client):
Create a ksonnet app for Kubeflow
try:
os.makedirs(args.test_dir)
except OSError as exc: // Python >2.5
if exc.errno == errno.EEXIST and os.path.isdir(args.test_dir):
pass
else:
raise
logging.info("Using test directory: %s", args.test_dir)
namespace_name = args.namespace
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances Project Name: kubeflow/kubeflow
Commit Name: 1d0758bad42918d0344f18e57d1d13747705f855
Time: 2019-02-18
Author: ashahba@users.noreply.github.com
File Name: testing/test_deploy.py
Class Name:
Method Name: setup_kubeflow_ks_app
Project Name: kubeflow/kubeflow
Commit Name: 1d0758bad42918d0344f18e57d1d13747705f855
Time: 2019-02-18
Author: ashahba@users.noreply.github.com
File Name: testing/test_deploy.py
Class Name:
Method Name: main
Project Name: kubeflow/kubeflow
Commit Name: 1d0758bad42918d0344f18e57d1d13747705f855
Time: 2019-02-18
Author: ashahba@users.noreply.github.com
File Name: testing/test_deploy.py
Class Name:
Method Name: deploy_minikube