File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ def test_remove_object_exception():
109
109
f .write (json .dumps (testpolicy ))
110
110
111
111
# Add alias myminio
112
- os .system ('mc alias set myminio/ http://fakeservices.datajoint.io datajoint datajoint' )
112
+ os .system (
113
+ 'mc alias set myminio/ http://fakeservices.datajoint.io datajoint datajoint' )
113
114
114
115
# Add the policy and apply it to the user
115
116
os .system ('mc admin policy add myminio test /tmp/policy.json' )
@@ -137,7 +138,7 @@ def test_remove_object_exception():
137
138
schema .external ['share' ].delete (delete_external_files = True )
138
139
os .remove ("/tmp/policy.json" )
139
140
os .system ('mc alias remove myminio/' )
140
-
141
+
141
142
# Raise the error we want if the error matches the expected uuid
142
143
if str (error_list [0 ][0 ]) == str (uuid_from_buffer (pack (test [1 ]))):
143
144
raise error_list [0 ][2 ]
You can’t perform that action at this time.
0 commit comments