Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-210-handle-relative-paths-in-cli-service-templates 66727c395 
-> ef40e7288


Review fixes


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

Branch: refs/heads/ARIA-210-handle-relative-paths-in-cli-service-templates
Commit: ef40e7288f66fe2d2cca095d61a04fb9cd2daccd
Parents: 66727c3
Author: Avia Efrat <[email protected]>
Authored: Tue May 9 17:21:43 2017 +0300
Committer: Avia Efrat <[email protected]>
Committed: Tue May 9 17:21:43 2017 +0300

----------------------------------------------------------------------
 tests/cli/test_service_templates.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/ef40e728/tests/cli/test_service_templates.py
----------------------------------------------------------------------
diff --git a/tests/cli/test_service_templates.py 
b/tests/cli/test_service_templates.py
index 633c973..22a8fc8 100644
--- a/tests/cli/test_service_templates.py
+++ b/tests/cli/test_service_templates.py
@@ -261,10 +261,8 @@ class TestServiceTemplatesCreateArchive(TestCliBase):
 
     def test_create_archive_from_relative_path(self, monkeypatch, mock_object):
 
-        monkeypatch.setattr(os.path, 'isfile', lambda x: True)
         monkeypatch.setattr(os.path, 'isfile', mock_object)
         monkeypatch.setattr(zipfile, 'ZipFile', mock.MagicMock)
 
         self.invoke('service_templates create_archive archive stubdest')
-
         mock_object.assert_called_with(os.path.join(os.getcwd(), 'archive'))

Reply via email to