From a067405c4df172caa12a8790fe6db2f8fae593fc Mon Sep 17 00:00:00 2001 From: Manik Bindlish Date: Mon, 17 Sep 2018 09:23:45 +0000 Subject: [PATCH] Removing duplicate variable "parsed_args.config_file" In test_run.py, there is a variable "parsed_args.config_file" which is used twice during it's assignment. Second time assignment is overwriting the assignment of first time. So this patch set will remove the un-necessary duplicity. Change-Id: I03dfb6990984a165d49ed9742f20e243370dc765 Partially-Implements: blueprint tempest-cli-unit-test-coverage --- tempest/tests/cmd/test_run.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tempest/tests/cmd/test_run.py b/tempest/tests/cmd/test_run.py index f55df30bb6..98ca12d188 100644 --- a/tempest/tests/cmd/test_run.py +++ b/tempest/tests/cmd/test_run.py @@ -180,7 +180,6 @@ class TestTakeAction(base.TestCase): tempest_run = run.TempestRun(app=mock.Mock(), app_args=mock.Mock()) parsed_args = mock.Mock() - parsed_args.config_file = [] parsed_args.workspace = None parsed_args.state = None