From 851b4c3275bde7608d26804b9134d93944be3b7e Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 13 Jul 2020 12:04:21 +0530 Subject: [PATCH] fix(tests): add --yes flag to production setup --- bench/tests/test_setup_production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/tests/test_setup_production.py b/bench/tests/test_setup_production.py index e0a60b17..5f983c71 100644 --- a/bench/tests/test_setup_production.py +++ b/bench/tests/test_setup_production.py @@ -19,7 +19,7 @@ class TestSetupProduction(TestBenchBase): for bench_name in ("test-bench-1", "test-bench-2"): bench_path = os.path.join(os.path.abspath(self.benches_path), bench_name) self.init_bench(bench_name) - bench.utils.exec_cmd("sudo bench setup production {0}".format(user), cwd=bench_path) + bench.utils.exec_cmd("sudo bench setup production {0} --yes".format(user), cwd=bench_path) self.assert_nginx_config(bench_name) self.assert_supervisor_config(bench_name) self.assert_supervisor_process(bench_name)