aiohomematic-test-support 2025.10.15__py3-none-any.whl → 2025.10.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aiohomematic-test-support might be problematic. Click here for more details.

@@ -1,2 +1,2 @@
1
- __version__ = "2025.10.15"
1
+ __version__ = "2025.10.16"
2
2
  """Module to support aiohomematic testing with a local client."""
@@ -137,7 +137,7 @@ class FactoryWithClient:
137
137
  self._xml_proxy.set_central(central=central)
138
138
  return central
139
139
 
140
- async def get_default_central(self) -> tuple[CentralUnit, Client | Mock]:
140
+ async def get_default_central(self, *, start: bool = True) -> CentralUnit:
141
141
  """Return a central based on give address_device_translation."""
142
142
  central = await self.get_raw_central()
143
143
 
@@ -162,12 +162,11 @@ class FactoryWithClient:
162
162
 
163
163
  patch("aiohomematic.client.ClientConfig.create_client", _mocked_create_client).start()
164
164
 
165
- await central.start()
166
- await central._init_hub()
167
- client = central.primary_client
165
+ if start:
166
+ await central.start()
167
+ await central._init_hub()
168
168
  assert central
169
- assert client
170
- return central, client
169
+ return central
171
170
 
172
171
 
173
172
  def _get_not_mockable_method_names(instance: Any, exclude_methods: set[str]) -> set[str]:
@@ -496,8 +495,9 @@ async def get_central_client_factory(
496
495
  ignore_devices_on_create=ignore_devices_on_create,
497
496
  un_ignore_list=un_ignore_list,
498
497
  )
499
- central_client = await factory.get_default_central()
500
- central, client = central_client
498
+ central = await factory.get_default_central()
499
+ client = central.primary_client
500
+ assert client
501
501
  try:
502
502
  yield central, client, factory
503
503
  finally:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiohomematic-test-support
3
- Version: 2025.10.15
3
+ Version: 2025.10.16
4
4
  Summary: Support-only package for AioHomematic (tests/dev). Not part of production builds.
5
5
  Author-email: SukramJ <sukramj@icloud.com>
6
6
  Project-URL: Homepage, https://github.com/SukramJ/aiohomematic
@@ -8,4 +8,5 @@ Classifier: Development Status :: 3 - Alpha
8
8
  Classifier: Intended Audience :: Developers
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3.13
11
+ Classifier: Programming Language :: Python :: 3.14
11
12
  Requires-Python: >=3.13
@@ -1,11 +1,11 @@
1
- aiohomematic_test_support/__init__.py,sha256=kilLU-GFX-K0M-qWQpG35jG88J1DoejypuNOgrYnJHQ,93
1
+ aiohomematic_test_support/__init__.py,sha256=AH2c33h4vDkVdRr4jNak1cH5T-nLvnncMF2pbsCqJJo,93
2
2
  aiohomematic_test_support/client_local.py,sha256=gpWkbyt_iCQCwxsvKahYl4knFrzyBku5WwbR83_mgM8,12825
3
3
  aiohomematic_test_support/const.py,sha256=vatushPkwtueWUMdGkEJMTU6UB0Enxy4u7IXjUrXmJo,19468
4
4
  aiohomematic_test_support/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- aiohomematic_test_support/support.py,sha256=Q0VVfIqFZsS8tUx7WaG4CRq6blzOil1uZUdlcqiows0,27643
5
+ aiohomematic_test_support/support.py,sha256=xFb7NRALsxE2sVo17DC_WdV6WmQWNRJhMUoHqpyHeKk,27610
6
6
  aiohomematic_test_support/data/full_session_randomized_ccu.zip,sha256=oN7g0CB_0kQX3qk-RSu-Rt28yW7BcplVqPYZCDqr0EU,734626
7
7
  aiohomematic_test_support/data/full_session_randomized_pydevccu.zip,sha256=_QFWSP03dkiMFdD_w-R98DS6ur4PYDQXw-DCkbJEGg4,1293240
8
- aiohomematic_test_support-2025.10.15.dist-info/METADATA,sha256=cofByELVQbLZ9R0-82GjVfbQI4tBa5ZBJwwZCU4sOXY,485
9
- aiohomematic_test_support-2025.10.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- aiohomematic_test_support-2025.10.15.dist-info/top_level.txt,sha256=KmK-OiDDbrmawIsIgPWNAkpkDfWQnOoumYd9MXAiTHc,26
11
- aiohomematic_test_support-2025.10.15.dist-info/RECORD,,
8
+ aiohomematic_test_support-2025.10.16.dist-info/METADATA,sha256=d0IB2LBdxzCAPQsaLD_mthR-Z_VtX9Srtkm1w0yqCMY,536
9
+ aiohomematic_test_support-2025.10.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ aiohomematic_test_support-2025.10.16.dist-info/top_level.txt,sha256=KmK-OiDDbrmawIsIgPWNAkpkDfWQnOoumYd9MXAiTHc,26
11
+ aiohomematic_test_support-2025.10.16.dist-info/RECORD,,