@@ -959,9 +959,9 @@ def test_add_bundle_overwrite_token_redacted(mock_smfsc, mock_har, app, auth_env
959959 assert rv .status_code == 201
960960 mock_har .apply_async .assert_called_once ()
961961 # Tenth to last element in args is the overwrite_from_index parameter
962- assert mock_har .apply_async .call_args [1 ]['args' ][- 10 ] is True
962+ assert mock_har .apply_async .call_args [1 ]['args' ][- 11 ] is True
963963 # Ninth to last element in args is the overwrite_from_index_token parameter
964- assert mock_har .apply_async .call_args [1 ]['args' ][- 9 ] == token
964+ assert mock_har .apply_async .call_args [1 ]['args' ][- 10 ] == token
965965 assert 'overwrite_from_index_token' not in rv_json
966966 assert token not in json .dumps (rv_json )
967967 assert token not in mock_har .apply_async .call_args [1 ]['argsrepr' ]
@@ -1492,8 +1492,8 @@ def test_remove_operator_overwrite_token_redacted(mock_smfsc, mock_hrr, app, aut
14921492 assert rv .status_code == 201
14931493 mock_hrr .apply_async .assert_called_once ()
14941494 # Third to last element in args is the overwrite_from_index parameter
1495- assert mock_hrr .apply_async .call_args [1 ]['args' ][- 5 ] is True
1496- assert mock_hrr .apply_async .call_args [1 ]['args' ][- 4 ] == token
1495+ assert mock_hrr .apply_async .call_args [1 ]['args' ][- 6 ] is True
1496+ assert mock_hrr .apply_async .call_args [1 ]['args' ][- 5 ] == token
14971497 assert 'overwrite_from_index_token' not in rv_json
14981498 assert token not in json .dumps (rv_json )
14991499 assert token not in mock_hrr .apply_async .call_args [1 ]['argsrepr' ]
@@ -1858,12 +1858,14 @@ def test_add_rm_batch_success(mock_smfnbor, mock_hrr, mock_har, app, auth_env, c
18581858 [],
18591859 None ,
18601860 False ,
1861+ {},
18611862 ],
18621863 argsrepr = (
18631864 "[['registry-proxy/rh-osbs/lgallett-bundle:v1.0-9'], "
18641865 "1, 'registry-proxy/rh-osbs/openshift-ose-operator-registry:v4.5', "
18651866 "'registry-proxy/rh-osbs-stage/iib:v4.5', ['amd64'], '*****', "
1866- "'hello-operator', None, True, '*****', None, None, {}, [], [], None, False]"
1867+ "'hello-operator', None, True, '*****', None, None, {}, [], [], None, "
1868+ "False, {}]"
18671869 ),
18681870 link_error = mock .ANY ,
18691871 queue = None ,
@@ -1884,11 +1886,12 @@ def test_add_rm_batch_success(mock_smfnbor, mock_hrr, mock_har, app, auth_env, c
18841886 None ,
18851887 {},
18861888 [],
1889+ {},
18871890 ],
18881891 argsrepr = (
18891892 "[['kiali-ossm'], 2, 'registry:8443/iib-build:11', "
18901893 "'registry-proxy/rh-osbs/openshift-ose-operator-registry:v4.5'"
1891- ", None, False, None, None, {}, []]"
1894+ ", None, False, None, None, {}, [], {} ]"
18921895 ),
18931896 link_error = mock .ANY ,
18941897 queue = None ,
0 commit comments