]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commitdiff
[RM-12677] remove references to invalid client exception paths
authorAlfredo Deza <adeza@redhat.com>
Wed, 12 Aug 2015 16:58:22 +0000 (12:58 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 12 Aug 2015 16:58:22 +0000 (12:58 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
radosgw_agent/tests/test_worker.py

index 9194ce697518d650d7c2e0c27daddae9744d45ec..13be6a54d75437cbf675204baa339755f936c758 100644 (file)
@@ -12,10 +12,8 @@ from radosgw_agent.exceptions import HttpError, NotFound, BucketEmpty
 class TestSyncObject(object):
 
     def setup(self):
-        # setup the fake client, but get the exceptions back into place
+        # setup the fake client
         self.client = Mock()
-        self.client.HttpError = HttpError
-        self.client.NotFound = NotFound
 
         self.src = Mock()
         self.src.zone.name = 'Zone Name'