"""conftest. This file gets picked up when running py.test tests: http://pytest.org/latest/writing_plugins.html#conftest """ from unittest.mock import MagicMock import pytest from owsclient import OwsClient @pytest.fixture def mock_owsclient() -> MagicMock: """Mock the OwsClient.""" return MagicMock(spec=OwsClient)