File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,6 @@ def test_connection_secure():
60
60
def test_remove_object_exception ():
61
61
# https://github.com/datajoint/datajoint-python/issues/952
62
62
63
- # Initialize minioClient with an endpoint and access/secret keys.
64
- minio_client = Minio (
65
- 'minio:9000' ,
66
- access_key = 'jeffjeff' ,
67
- secret_key = 'jeffjeff' ,
68
- secure = False )
69
-
70
63
# Insert some test data and remove it so that the external table is populated
71
64
test = [1 , [1 , 2 , 3 ]]
72
65
SimpleRemote .insert1 (test )
@@ -76,7 +69,11 @@ def test_remove_object_exception():
76
69
old_client = schema .external ['share' ].s3 .client
77
70
78
71
# Apply our new minio client which has a user that does not exist
79
- schema .external ['share' ].s3 .client = minio_client
72
+ schema .external ['share' ].s3 .client = Minio (
73
+ 'minio:9000' ,
74
+ access_key = 'jeffjeff' ,
75
+ secret_key = 'jeffjeff' ,
76
+ secure = False )
80
77
81
78
# This method returns a list of errors
82
79
error_list = schema .external ['share' ].delete (delete_external_files = True ,
You can’t perform that action at this time.
0 commit comments