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():
109109 f .write (json .dumps (testpolicy ))
110110
111111 # 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' )
113114
114115 # Add the policy and apply it to the user
115116 os .system ('mc admin policy add myminio test /tmp/policy.json' )
@@ -137,7 +138,7 @@ def test_remove_object_exception():
137138 schema .external ['share' ].delete (delete_external_files = True )
138139 os .remove ("/tmp/policy.json" )
139140 os .system ('mc alias remove myminio/' )
140-
141+
141142 # Raise the error we want if the error matches the expected uuid
142143 if str (error_list [0 ][0 ]) == str (uuid_from_buffer (pack (test [1 ]))):
143144 raise error_list [0 ][2 ]
You can’t perform that action at this time.
0 commit comments