Updated Branches:
  refs/heads/trunk 998af4499 -> bb5d2ce83

Remove two duplicate tests. These tests appear to have been a copy/paste.

Signed-off-by: Tomaz Muraus <[email protected]>


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

Branch: refs/heads/trunk
Commit: bb5d2ce8346020a1b467a4724b83cca96a627216
Parents: 998af44
Author: briancurtin <[email protected]>
Authored: Sat Oct 12 23:27:06 2013 -0500
Committer: Tomaz Muraus <[email protected]>
Committed: Sun Oct 13 17:17:49 2013 +0200

----------------------------------------------------------------------
 libcloud/test/storage/test_cloudfiles.py | 17 -----------------
 1 file changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/bb5d2ce8/libcloud/test/storage/test_cloudfiles.py
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/test_cloudfiles.py 
b/libcloud/test/storage/test_cloudfiles.py
index 703b012..f64f5a4 100644
--- a/libcloud/test/storage/test_cloudfiles.py
+++ b/libcloud/test/storage/test_cloudfiles.py
@@ -108,23 +108,6 @@ class CloudFilesTests(unittest.TestCase):
         self.assertEqual('/v1/MossoCloudFS',
             driver.connection.request_path)
 
-    def test_invalid_ex_force_service_region(self):
-        driver = CloudFilesStorageDriver('driver', 'dummy',
-                ex_force_service_region='invalid')
-
-        try:
-            driver.list_containers()
-        except:
-            e = sys.exc_info()[1]
-            self.assertEqual(e.value, 'Could not find specified endpoint')
-        else:
-            self.fail('Exception was not thrown')
-
-    def test_ex_force_service_region(self):
-        driver = CloudFilesStorageDriver('driver', 'dummy',
-                ex_force_service_region='ORD')
-        driver.list_containers()
-
     def test_force_auth_url_kwargs(self):
         kwargs = {
             'ex_force_auth_version': '2.0',

Reply via email to