You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/06/26 16:08:39 UTC

svn commit: r1139795 - /libcloud/trunk/test/compute/test_ec2.py

Author: tomaz
Date: Sun Jun 26 14:08:39 2011
New Revision: 1139795

URL: http://svn.apache.org/viewvc?rev=1139795&view=rev
Log:
Add a test for making sure Node name attribute is properly set. Currently it
fails (TDD!).

Modified:
    libcloud/trunk/test/compute/test_ec2.py

Modified: libcloud/trunk/test/compute/test_ec2.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/test/compute/test_ec2.py?rev=1139795&r1=1139794&r2=1139795&view=diff
==============================================================================
--- libcloud/trunk/test/compute/test_ec2.py (original)
+++ libcloud/trunk/test/compute/test_ec2.py Sun Jun 26 14:08:39 2011
@@ -87,6 +87,7 @@ class EC2Tests(LibcloudTestCase, TestCas
         node = self.driver.create_node(name='foo', image=image, size=size,
                                        location=location)
         self.assertEqual(node.id, 'i-2ba64342')
+        self.assertEqual(node.name, 'foo')
 
     def test_list_nodes(self):
         node = self.driver.list_nodes()[0]