"""Provide common smhi fixtures."""
import pytest

from homeassistant.components.smhi.const import DOMAIN

from tests.common import load_fixture


@pytest.fixture(scope="session")
def api_response():
    """Return an API response."""
    return load_fixture("smhi.json", DOMAIN)


@pytest.fixture(scope="session")
def api_response_lack_data():
    """Return an API response."""
    return load_fixture("smhi_short.json", DOMAIN)

d085efa72c1c17e69e1dcbe34f8c44f3932f077d
<mask token>

<mask token>


@pytest.fixture(scope='session')
def api_response():
    """Return an API response."""
    return load_fixture('smhi.json', DOMAIN)


<mask token>

<mask token>


@pytest.fixture(scope='session')
def api_response():
    """Return an API response."""
    return load_fixture('smhi.json', DOMAIN)


@pytest.fixture(scope='session')
def api_response_lack_data():
    """Return an API response."""
    return load_fixture('smhi_short.json', DOMAIN)

<mask token>
import pytest
from homeassistant.components.smhi.const import DOMAIN
from tests.common import load_fixture


@pytest.fixture(scope='session')
def api_response():
    """Return an API response."""
    return load_fixture('smhi.json', DOMAIN)


@pytest.fixture(scope='session')
def api_response_lack_data():
    """Return an API response."""
    return load_fixture('smhi_short.json', DOMAIN)

"""Provide common smhi fixtures."""
import pytest

from homeassistant.components.smhi.const import DOMAIN

from tests.common import load_fixture


@pytest.fixture(scope="session")
def api_response():
    """Return an API response."""
    return load_fixture("smhi.json", DOMAIN)


@pytest.fixture(scope="session")
def api_response_lack_data():
    """Return an API response."""
    return load_fixture("smhi_short.json", DOMAIN)
