Skip to content

Commit 4bf893c

Browse files
committed
Remove old constants
1 parent da20591 commit 4bf893c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

tests/application/test_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def test_probe_unsuccessful_slow(device, make_znp_server, mocker):
6363
# Don't respond to anything
6464
znp_server._listeners.clear()
6565

66-
mocker.patch("zigpy_znp.zigbee.application.PROBE_TIMEOUT", new=0.1)
66+
mocker.patch("zigpy_znp.api.CONNECT_PROBE_TIMEOUT", new=0.1)
6767

6868
assert not (
6969
await ControllerApplication.probe(

zigpy_znp/zigbee/application.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,11 @@
4141
ZDO_PROFILE = 0x0000
4242

4343
# All of these are in seconds
44-
PROBE_TIMEOUT = 5
4544
STARTUP_TIMEOUT = 5
46-
ZDO_REQUEST_TIMEOUT = 15
4745
DATA_CONFIRM_TIMEOUT = 8
4846
IEEE_ADDR_DISCOVERY_TIMEOUT = 5
4947
DEVICE_JOIN_MAX_DELAY = 5
5048
WATCHDOG_PERIOD = 30
51-
BROADCAST_SEND_WAIT_DURATION = 3
52-
MULTICAST_SEND_WAIT_DURATION = 3
5349

5450
REQUEST_MAX_RETRIES = 5
5551
REQUEST_ERROR_RETRY_DELAY = 0.5

0 commit comments

Comments
 (0)