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/04/10 22:14:08 UTC

svn commit: r1090886 - /incubator/libcloud/trunk/test/storage/test_cloudfiles.py

Author: tomaz
Date: Sun Apr 10 20:14:07 2011
New Revision: 1090886

URL: http://svn.apache.org/viewvc?rev=1090886&view=rev
Log:
Remove some unused stuff.

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=1090886&r1=1090885&r2=1090886&view=diff
==============================================================================
--- incubator/libcloud/trunk/test/storage/test_cloudfiles.py (original)
+++ incubator/libcloud/trunk/test/storage/test_cloudfiles.py Sun Apr 10 20:14:07 2011
@@ -14,7 +14,6 @@
 # limitations under the License.
 import os
 import os.path                          # pylint: disable-msg=W0404
-import random
 import sys
 import copy
 import unittest
@@ -182,7 +181,6 @@ class CloudFilesTests(unittest.TestCase)
         self.assertFalse(result)
 
     def test_download_object_success_not_found(self):
-        #CloudFilesMockHttp.type = 'NOT_FOUND'
         CloudFilesMockRawResponse.type = 'NOT_FOUND'
         container = Container(name='foo_bar_container', extra={}, driver=self)
 
@@ -202,9 +200,6 @@ class CloudFilesTests(unittest.TestCase)
         else:
             self.fail('Object does not exist but an exception was not thrown')
 
-    def object_as_stream(self):
-        pass
-
     def test_upload_object_success(self):
         def upload_file(self, response, file_path, chunked=False,
                      calculate_hash=True):