23
23
24
24
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
25
25
async def test_chosen_dst_endpoint (device , make_application , mocker ):
26
- app , znp_server = await make_application (device )
26
+ app , znp_server = make_application (device )
27
27
await app .startup (auto_form = False )
28
28
29
29
build = mocker .patch .object (type (app ), "_zstack_build_id" , mocker .PropertyMock ())
@@ -48,7 +48,7 @@ async def test_chosen_dst_endpoint(device, make_application, mocker):
48
48
49
49
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
50
50
async def test_zigpy_request (device , make_application ):
51
- app , znp_server = await make_application (device )
51
+ app , znp_server = make_application (device )
52
52
await app .startup (auto_form = False )
53
53
54
54
TSN = 7
@@ -108,7 +108,7 @@ async def test_zigpy_request(device, make_application):
108
108
109
109
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
110
110
async def test_zigpy_request_failure (device , make_application , mocker ):
111
- app , znp_server = await make_application (device )
111
+ app , znp_server = make_application (device )
112
112
await app .startup (auto_form = False )
113
113
114
114
TSN = 7
@@ -161,7 +161,7 @@ async def test_zigpy_request_failure(device, make_application, mocker):
161
161
],
162
162
)
163
163
async def test_request_addr_mode (device , addr , make_application , mocker ):
164
- app , znp_server = await make_application (server_cls = device )
164
+ app , znp_server = make_application (server_cls = device )
165
165
166
166
await app .startup (auto_form = False )
167
167
@@ -188,7 +188,7 @@ async def test_request_addr_mode(device, addr, make_application, mocker):
188
188
189
189
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
190
190
async def test_mrequest (device , make_application , mocker ):
191
- app , znp_server = await make_application (server_cls = device )
191
+ app , znp_server = make_application (server_cls = device )
192
192
193
193
mocker .patch .object (app , "send_packet" , new = CoroutineMock ())
194
194
group = app .groups .add_group (0x1234 , "test group" )
@@ -207,7 +207,7 @@ async def test_mrequest(device, make_application, mocker):
207
207
208
208
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
209
209
async def test_mrequest_doesnt_block (device , make_application , event_loop ):
210
- app , znp_server = await make_application (server_cls = device )
210
+ app , znp_server = make_application (server_cls = device )
211
211
212
212
znp_server .reply_once_to (
213
213
request = c .AF .DataRequestExt .Req (
@@ -240,7 +240,7 @@ async def test_mrequest_doesnt_block(device, make_application, event_loop):
240
240
241
241
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
242
242
async def test_broadcast (device , make_application , mocker ):
243
- app , znp_server = await make_application (server_cls = device )
243
+ app , znp_server = make_application (server_cls = device )
244
244
await app .startup ()
245
245
246
246
znp_server .reply_once_to (
@@ -277,7 +277,7 @@ async def test_broadcast(device, make_application, mocker):
277
277
278
278
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
279
279
async def test_request_concurrency (device , make_application , mocker ):
280
- app , znp_server = await make_application (
280
+ app , znp_server = make_application (
281
281
server_cls = device ,
282
282
client_config = {conf .CONF_MAX_CONCURRENT_REQUESTS : 2 },
283
283
)
@@ -344,7 +344,7 @@ async def callback(req):
344
344
345
345
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
346
346
async def test_nonstandard_profile (device , make_application ):
347
- app , znp_server = await make_application (server_cls = device )
347
+ app , znp_server = make_application (server_cls = device )
348
348
await app .startup (auto_form = False )
349
349
350
350
device = app .add_initialized_device (ieee = t .EUI64 (range (8 )), nwk = 0xFA9E )
@@ -401,7 +401,7 @@ async def test_nonstandard_profile(device, make_application):
401
401
async def test_request_cancellation_shielding (
402
402
device , make_application , mocker , event_loop
403
403
):
404
- app , znp_server = await make_application (server_cls = device )
404
+ app , znp_server = make_application (server_cls = device )
405
405
406
406
await app .startup (auto_form = False )
407
407
@@ -458,7 +458,7 @@ async def inner():
458
458
async def test_request_recovery_route_rediscovery_zdo (device , make_application , mocker ):
459
459
TSN = 7
460
460
461
- app , znp_server = await make_application (server_cls = device )
461
+ app , znp_server = make_application (server_cls = device )
462
462
463
463
await app .startup (auto_form = False )
464
464
@@ -539,7 +539,7 @@ def set_route_discovered(req):
539
539
540
540
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
541
541
async def test_request_recovery_route_rediscovery_af (device , make_application , mocker ):
542
- app , znp_server = await make_application (server_cls = device )
542
+ app , znp_server = make_application (server_cls = device )
543
543
544
544
await app .startup (auto_form = False )
545
545
@@ -608,7 +608,7 @@ def set_route_discovered(req):
608
608
609
609
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
610
610
async def test_request_recovery_use_ieee_addr (device , make_application , mocker ):
611
- app , znp_server = await make_application (server_cls = device )
611
+ app , znp_server = make_application (server_cls = device )
612
612
613
613
await app .startup (auto_form = False )
614
614
@@ -676,7 +676,7 @@ def data_confirm_replier(req):
676
676
async def test_request_recovery_assoc_remove (
677
677
device_cls , fw_assoc_remove , final_status , make_application , mocker
678
678
):
679
- app , znp_server = await make_application (server_cls = device_cls )
679
+ app , znp_server = make_application (server_cls = device_cls )
680
680
681
681
await app .startup (auto_form = False )
682
682
@@ -810,7 +810,7 @@ def assoc_remove(req):
810
810
async def test_request_recovery_manual_source_route (
811
811
device , succeed , relays , make_application , mocker
812
812
):
813
- app , znp_server = await make_application (server_cls = device )
813
+ app , znp_server = make_application (server_cls = device )
814
814
815
815
await app .startup (auto_form = False )
816
816
@@ -884,7 +884,7 @@ def data_confirm_replier(req):
884
884
885
885
@pytest .mark .parametrize ("device" , [FormedLaunchpadCC26X2R1 ])
886
886
async def test_route_discovery_concurrency (device , make_application ):
887
- app , znp_server = await make_application (server_cls = device )
887
+ app , znp_server = make_application (server_cls = device )
888
888
889
889
await app .startup (auto_form = False )
890
890
@@ -921,7 +921,7 @@ async def test_route_discovery_concurrency(device, make_application):
921
921
922
922
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
923
923
async def test_send_security_and_packet_source_route (device , make_application , mocker ):
924
- app , znp_server = await make_application (server_cls = device )
924
+ app , znp_server = make_application (server_cls = device )
925
925
await app .startup (auto_form = False )
926
926
927
927
packet = zigpy_t .ZigbeePacket (
@@ -972,7 +972,7 @@ async def test_send_security_and_packet_source_route(device, make_application, m
972
972
973
973
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
974
974
async def test_send_packet_failure (device , make_application , mocker ):
975
- app , znp_server = await make_application (server_cls = device )
975
+ app , znp_server = make_application (server_cls = device )
976
976
await app .startup (auto_form = False )
977
977
978
978
packet = zigpy_t .ZigbeePacket (
@@ -1013,7 +1013,7 @@ async def test_send_packet_failure(device, make_application, mocker):
1013
1013
1014
1014
@pytest .mark .parametrize ("device" , FORMED_DEVICES )
1015
1015
async def test_send_packet_failure_disconnected (device , make_application , mocker ):
1016
- app , znp_server = await make_application (server_cls = device )
1016
+ app , znp_server = make_application (server_cls = device )
1017
1017
await app .startup (auto_form = False )
1018
1018
1019
1019
app ._znp = None
0 commit comments