Skip to content

Commit bdf610c

Browse files
committed
fix 313 load request unit test
1 parent 8136b78 commit bdf610c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure_functions_worker_v1/tests/unittests/test_handle_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def test_function_load_request(
8080
handle_event.protos = test_protos
8181
worker_request = WorkerRequest(name='function_load_request',
8282
request=Request(FunctionRequest(
83-
function_id=123,
83+
function_id="123",
8484
metadata=Metadata(
8585
script_file=BASIC_FUNCTION_DIRECTORY,
8686
entry_point=BASIC_FUNCTION_DIRECTORY,

azure_functions_worker_v1/tests/utils/mock_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FunctionRequest:
2424
def __init__(self, capabilities: Optional[Any] = {},
2525
function_app_directory: Optional[Any] = "",
2626
environment_variables: Optional[Any] = {},
27-
function_id: Optional[Any] = 123,
27+
function_id: Optional[Any] = "123",
2828
metadata: Optional[Any] = {}):
2929
self.capabilities = capabilities
3030
self.function_app_directory = function_app_directory

0 commit comments

Comments
 (0)