From 8c062bc008d59099e5bebe0f87059c6f7969ca22 Mon Sep 17 00:00:00 2001 From: Denis Shulyaka Date: Mon, 6 Nov 2023 03:45:00 +0300 Subject: [PATCH] fix merge --- tests/test_application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_application.py b/tests/test_application.py index ad2c2d7..cd312d9 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -740,7 +740,7 @@ async def test_energy_scan_legacy_module(app): energy = await app.energy_scan( channels=list(range(11, 27)), duration_exp=time_s, count=count ) - app._api._at_command.assert_called_once_with("ED", time_s) + app._api._at_command.assert_called_once_with("ED", bytes([time_s])) assert energy == {c: 0 for c in range(11, 27)}