[ARVADOS] updated: b95518608653185f96f378ea3df4cf1ad7b05817
git at public.curoverse.com
git at public.curoverse.com
Thu Aug 20 14:04:19 EDT 2015
Summary of changes:
services/nodemanager/tests/test_computenode_driver_azure.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
via b95518608653185f96f378ea3df4cf1ad7b05817 (commit)
from 44494089c502572ee231bb421da70889b68fae4f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit b95518608653185f96f378ea3df4cf1ad7b05817
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Aug 20 14:05:37 2015 -0400
6507: Fix test
diff --git a/services/nodemanager/tests/test_computenode_driver_azure.py b/services/nodemanager/tests/test_computenode_driver_azure.py
index 3b7cca2..97f2d84 100644
--- a/services/nodemanager/tests/test_computenode_driver_azure.py
+++ b/services/nodemanager/tests/test_computenode_driver_azure.py
@@ -26,11 +26,10 @@ class AzureComputeNodeDriverTestCase(testutil.DriverTestMixin, unittest.TestCase
self.assertEqual(kwargs, self.driver_mock.call_args[1])
def test_create_image_loaded_at_initialization(self):
- list_method = self.driver_mock().list_images
- list_method.return_value = [testutil.cloud_object_mock(c)
- for c in 'abc']
+ get_method = self.driver_mock().get_image
+ get_method.return_value = [testutil.cloud_object_mock('id_b')]
driver = self.new_driver(create_kwargs={'image': 'id_b'})
- self.assertEqual(1, list_method.call_count)
+ self.assertEqual(1, get_method.call_count)
def test_create_includes_ping_and_hostname(self):
arv_node = testutil.arvados_node_mock(info={'ping_secret': 'ssshh'})
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list