You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by av...@apache.org on 2017/04/05 10:05:55 UTC

[08/10] incubator-ariatosca git commit: Remove a variable when it is not used

Remove a variable when it is not used


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/97d5b049
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/97d5b049
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/97d5b049

Branch: refs/heads/cli-tests
Commit: 97d5b049b965111ca52740c42028b322763cc1bb
Parents: c51ff29
Author: Avia Efrat <av...@gigaspaces.com>
Authored: Wed Apr 5 12:06:08 2017 +0300
Committer: Avia Efrat <av...@gigaspaces.com>
Committed: Wed Apr 5 12:06:08 2017 +0300

----------------------------------------------------------------------
 tests/cli/test_service_templates.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/97d5b049/tests/cli/test_service_templates.py
----------------------------------------------------------------------
diff --git a/tests/cli/test_service_templates.py b/tests/cli/test_service_templates.py
index e52207d..aa562ce 100644
--- a/tests/cli/test_service_templates.py
+++ b/tests/cli/test_service_templates.py
@@ -32,7 +32,7 @@ class TestServiceTemplatesShow(TestCliBase):
     def test_show_no_services_no_description(self, monkeypatch):
 
         monkeypatch.setattr(Environment, 'model_storage', MockStorage())
-        outcome = self.invoke('service_templates show 1')
+        self.invoke('service_templates show 1')
 
         assert 'Description:' not in self.logger_output_string
         assert 'Existing services:\n[]' in self.logger_output_string
@@ -40,7 +40,7 @@ class TestServiceTemplatesShow(TestCliBase):
     def test_show_no_services_yes_description(self, monkeypatch):
 
         monkeypatch.setattr(Environment, 'model_storage', MockStorage())
-        outcome = self.invoke('service_templates show 2')
+        self.invoke('service_templates show 2')
 
         assert 'Description:\ntest_description' in self.logger_output_string
         assert 'Existing services:\n[]' in self.logger_output_string
@@ -48,7 +48,7 @@ class TestServiceTemplatesShow(TestCliBase):
     def test_show_one_service_yes_description(self, monkeypatch):
 
         monkeypatch.setattr(Environment, 'model_storage', MockStorage())
-        outcome = self.invoke('service_templates show 3')
+        self.invoke('service_templates show 3')
 
         assert 'Description:\ntest_description' in self.logger_output_string
         assert "Existing services:\n['test_s']" in self.logger_output_string