Skip to content

Commit 0abf698

Browse files
committed
change test file name
1 parent 8d17868 commit 0abf698

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

python-lib/tc_etl_lib/tc_etl_lib/test_s3.py renamed to python-lib/tc_etl_lib/tc_etl_lib/test_object_storage.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@ def test_create_bucket(self, mock_boto_client):
4545
Bucket='test-bucket'
4646
)
4747

48-
@patch('tc_etl_lib.object_storage.boto3.client')
49-
def test_create_bucket_error(self, mock_boto_client):
50-
mock_object_storage_client = mock.MagicMock()
51-
mock_boto_client.return_value = mock_object_storage_client
52-
53-
mock_object_storage_client.create_bucket.side_effect = Exception(
54-
"Test error creating bucket")
55-
with self.assertRaises(Exception):
56-
object_storage_manager = self.init_object_storage_manager()
57-
object_storage_manager.create_bucket("test-bucket")
58-
5948
@patch('tc_etl_lib.object_storage.boto3.client')
6049
def test_remove_bucket(self, mock_boto_client):
6150
mock_object_storage_client = mock.MagicMock()

0 commit comments

Comments
 (0)