File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,14 @@ def test_HttpStart(self, client):
13
13
14
14
req = func .HttpRequest (method = 'GET' ,
15
15
body = b'{}' ,
16
- url = '/api/my_second_function' ,
17
- route_params = {"functionName" : "E2_BackupSiteContent" })
16
+ url = '/api/my_second_function' )
18
17
19
18
client .start_new = AsyncMock (return_value = "instance_id" )
20
19
client .create_check_status_response = Mock (return_value = "check_status_response" )
21
20
22
21
# Create a generator using the method and mocked context
23
22
result = asyncio .run (func_call (req , client ))
24
23
25
- client .start_new .assert_called_once_with ("E2_BackupSiteContent " , client_input = {})
24
+ client .start_new .assert_called_once_with ("my_orchestrator " , client_input = {})
26
25
client .create_check_status_response .assert_called_once_with (req , "instance_id" )
27
26
self .assertEqual (result , "check_status_response" )
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ def test_HttpStart(self, client):
14
14
req = func .HttpRequest (method = 'GET' ,
15
15
body = b'{}' ,
16
16
url = '/api/my_second_function' ,
17
- route_params = {"functionName" : "E2_BackupSiteContent " })
17
+ route_params = {"functionName" : "my_orchestrator " })
18
18
19
19
client .start_new = AsyncMock (return_value = "instance_id" )
20
20
client .create_check_status_response = Mock (return_value = "check_status_response" )
21
21
22
22
# Create a generator using the method and mocked context
23
23
result = asyncio .run (func_call (req , client ))
24
24
25
- client .start_new .assert_called_once_with ("E2_BackupSiteContent " , client_input = {})
25
+ client .start_new .assert_called_once_with ("my_orchestrator " , client_input = {})
26
26
client .create_check_status_response .assert_called_once_with (req , "instance_id" )
27
27
self .assertEqual (result , "check_status_response" )
You can’t perform that action at this time.
0 commit comments