# -*- coding: utf-8 -*-
# flake8: noqa
# pylint: skip-file
"""
tests
"""

import pytest

from .._metadata import query

pytestmark = pytest.mark.network

def test_query():
    """Test 'openl' metadata service."""
    # test query from metadata
    assert (len(repr(query('9780195132861', 'openl'))) > 140) == True
    assert (len(repr(query('9780156001311', 'openl'))) > 140) == True
