at master 1.5 kB view raw
1diff --git a/tests/test_api.py b/tests/test_api.py 2index 3289252..30388b2 100644 3--- a/tests/test_api.py 4+++ b/tests/test_api.py 5@@ -25,7 +25,7 @@ DBUS_ERROR_UNKNOWN = BleakDBusError("org.bluez.Error.SomethingNotHandled", []) 6 @pytest.fixture() 7 def mock_client() -> MockSnoozClient: 8 return MockSnoozClient( 9- BLEDevice("Snooz-ABCD", "00:00:00:00:12:34", [], 0), SnoozDeviceModel.ORIGINAL 10+ BLEDevice("Snooz-ABCD", "00:00:00:00:12:34", []), SnoozDeviceModel.ORIGINAL 11 ) 12 13 14diff --git a/tests/test_device.py b/tests/test_device.py 15index f24a7c6..38240e4 100644 16--- a/tests/test_device.py 17+++ b/tests/test_device.py 18@@ -127,7 +127,7 @@ def snooz( 19 model_name = ( 20 MODEL_NAME_BREEZ if model == SnoozDeviceModel.BREEZ else MODEL_NAME_SNOOZ 21 ) 22- device = BLEDevice("AA:BB:CC:DD:EE:FF", f"{model_name}-EEFF", [], 0) 23+ device = BLEDevice("AA:BB:CC:DD:EE:FF", f"{model_name}-EEFF", []) 24 password = "AABBCCDDEEFF" 25 adv_data = SnoozAdvertisementData( 26 model, 27diff --git a/tests/test_testing.py b/tests/test_testing.py 28index d8ce6f2..7a1002d 100644 29--- a/tests/test_testing.py 30+++ b/tests/test_testing.py 31@@ -22,7 +22,7 @@ from pysnooz.testing import MockSnoozClient, MockSnoozDevice 32 33 from . import SUPPORTED_MODELS 34 35-TEST_BLE_DEVICE = BLEDevice("00:00:00:00:AB:CD", "Snooz-ABCD", [], 0) 36+TEST_BLE_DEVICE = BLEDevice("00:00:00:00:AB:CD", "Snooz-ABCD", []) 37 38 39 @pytest.mark.asyncio