Skip to content

Commit 1b35691

Browse files
Ilija VukoticBenGalewsky
authored andcommitted
test update
1 parent 2c79382 commit 1b35691

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/servicex_did_finder_lib/test_communication.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ async def my_user_callback(did, info):
444444
await run_file_fetch_loop("123-456", SXAdaptor, {}, my_user_callback)
445445
SXAdaptor.post_transform_start.assert_called_once()
446446

447-
assert SXAdaptor.put_file_add.call_count == 1
448-
assert SXAdaptor.put_file_add.call_args_list[0][0][0][0]['paths'][0] == '/tmp/foo'
449-
assert SXAdaptor.put_file_add.call_args_list[0][0][0][1]['paths'][0] == '/tmp/bar'
447+
assert SXAdaptor.put_file_add_bulk.call_count == 1
448+
assert SXAdaptor.put_file_add_bulk.call_args_list[0][0][0][0]['paths'][0] == '/tmp/foo'
449+
assert SXAdaptor.put_file_add_bulk.call_args_list[0][0][0][1]['paths'][0] == '/tmp/bar'
450450

451451
SXAdaptor.put_fileset_complete.assert_called_once
452452
assert SXAdaptor.put_fileset_complete.call_args[0][0]['files'] == 2

0 commit comments

Comments
 (0)