libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1103446 - /incubator/libcloud/trunk/test/storage/test_cloudfiles.py
Date Sun, 15 May 2011 16:21:08 GMT
Author: tomaz
Date: Sun May 15 16:21:07 2011
New Revision: 1103446

URL: http://svn.apache.org/viewvc?rev=1103446&view=rev
Log:
Update affected test.

Modified:
    incubator/libcloud/trunk/test/storage/test_cloudfiles.py

Modified: incubator/libcloud/trunk/test/storage/test_cloudfiles.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/test/storage/test_cloudfiles.py?rev=1103446&r1=1103445&r2=1103446&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/storage/test_cloudfiles.py (original)
+++ incubator/libcloud/trunk/test/storage/test_cloudfiles.py Sun May 15 16:21:07 2011
@@ -109,8 +109,8 @@ class CloudFilesTests(unittest.TestCase)
                                      object_name='test_object')
         self.assertEqual(obj.container.name, 'test_container')
         self.assertEqual(obj.size, 555)
+        self.assertEqual(obj.hash, '6b21c4a111ac178feacf9ec9d0c71f17')
         self.assertEqual(obj.extra['content_type'], 'application/zip')
-        self.assertEqual(obj.extra['etag'], '6b21c4a111ac178feacf9ec9d0c71f17')
         self.assertEqual(
             obj.extra['last_modified'], 'Tue, 25 Jan 2011 22:01:49 GMT')
         self.assertEqual(obj.meta_data['foo-bar'], 'test 1')



Mime
View raw message