Allow negative altitude in location updates (#29381)
This commit is contained in:
1 parent
a1a131334a
commit
f6780c1fa2
3 files changed
+24
-2
No files matched your search
@@ -18,7 +18,7 @@ def registry(hass):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def create_registrations(authed_api_client):
|
||||
async def create_registrations(hass, authed_api_client):
|
||||
"""Return two new registrations."""
|
||||
enc_reg = await authed_api_client.post(
|
||||
"/api/mobile_app/registrations", json=REGISTER
|
||||
@@ -34,6 +34,8 @@ async def create_registrations(authed_api_client):
|
||||
assert clear_reg.status == 201
|
||||
clear_reg_json = await clear_reg.json()
|
||||
|
||||
await hass.async_block_till_done()
|
||||
|
||||
return (enc_reg_json, clear_reg_json)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user