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 13:58:28 UTC
[12/17] 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/98502965
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/98502965
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/98502965
Branch: refs/heads/cli-tests
Commit: 985029658df665d68058cf4302fd037d7422c48a
Parents: d346d33
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 16:49:57 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/98502965/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