Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit a86764a

Browse files
committed
tests/integration/bucket_test.py: use new exceptions.
1 parent 877b55d commit a86764a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration/bucket_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pytest
77

88

9-
from storj.exception import StorjBridgeApiError
9+
from storj.exception import BridgeError
1010

1111
from . import Integration
1212

@@ -31,7 +31,7 @@ def tearDown(self):
3131
super(Bucket, self).tearDown()
3232
try:
3333
self.client.bucket_delete(self.bucket.id)
34-
except StorjBridgeApiError as e:
34+
except BridgeError as e:
3535
self.logger.error(e)
3636

3737
def test(self):
@@ -57,7 +57,7 @@ def test(self):
5757
self.client.bucket_delete(self.bucket.id)
5858

5959
self.logger.debug('2.1')
60-
with pytest.raises(StorjBridgeApiError):
60+
with pytest.raises(BridgeError):
6161
self.client.bucket_get(self.bucket.id)
6262

6363
self.logger.debug('2.2')

0 commit comments

Comments
 (0)