Skip to content

Commit

Permalink
send_ack -> _send_tunnelling_ack
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Dec 10, 2020
1 parent f02a406 commit 6fad017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/io_tests/tunnel_test.py
Expand Up @@ -32,7 +32,7 @@ def tearDown(self):
"""Tear down test class."""
self.loop.close()

@patch("xknx.io.Tunnel.send_ack")
@patch("xknx.io.Tunnel._send_tunnelling_ack")
def test_tunnel_request_received(self, send_ack_mock):
"""Test Tunnel for calling send_ack on normal frames."""
# LDataInd GroupValueWrite from 1.1.22 to to 5/1/22 with DPT9 payload 0C 3F
Expand All @@ -47,7 +47,7 @@ def test_tunnel_request_received(self, send_ack_mock):
self.tg_received_mock.assert_called_once_with(telegram)
send_ack_mock.assert_called_once_with(0x02, 0x21)

@patch("xknx.io.Tunnel.send_ack")
@patch("xknx.io.Tunnel._send_tunnelling_ack")
def test_tunnel_request_received_unsupported_frames(self, send_ack_mock):
"""Test Tunnel sending ACK for unsupported frames."""
# LDataInd APciPhysAddrRead from 0.0.1 to 0/0/0 broadcast - ETS scan for devices in programming mode
Expand Down

0 comments on commit 6fad017

Please sign in to comment.