async def test_webhook_camera_stream_non_existent(hass, create_registrations, webhook_client):
    'Test fetching camera stream URLs for a non-existent camera.'
    webhook_id = create_registrations[1]['webhook_id']
    resp = (await webhook_client.post(f'/api/webhook/{webhook_id}', json={'type': 'stream_camera', 'data': {'camera_entity_id': 'camera.doesnt_exist'}}))
    assert (resp.status == 400)
    webhook_json = (await resp.json())
    assert (webhook_json['success'] is False)
Test fetching camera stream URLs for a non-existent camera.
async def test_webhook_camera_stream_non_existent(hass, create_registrations, webhook_client):
    
    webhook_id = create_registrations[1]['webhook_id']
    resp = (await webhook_client.post(f'/api/webhook/{webhook_id}', json={'type': 'stream_camera', 'data': {'camera_entity_id': 'camera.doesnt_exist'}}))
    assert (resp.status == 400)
    webhook_json = (await resp.json())
    assert (webhook_json['success'] is False)