diff --git a/py/tests/test_routing.py b/py/tests/test_routing.py index ad267e99f1..5cd367a434 100644 --- a/py/tests/test_routing.py +++ b/py/tests/test_routing.py @@ -169,5 +169,4 @@ async def test_arg_pattern_matching_uuid(self): arg = f'page/orders/{uuid_str}' q = mock_q(args={arg: True, '__wave_submission_name__': arg}) await run_on(q) - uuid = UUID(uuid_str) - pattern_arg_handlers['page/orders/{order_id:uuid}'].assert_called_once_with(q, order_id=uuid) + pattern_arg_handlers['page/orders/{order_id:uuid}'].assert_called_once_with(q, order_id=UUID(uuid_str))