<gh_stars>100-1000
from gscholar import gscholar as gs

import pytest


@pytest.mark.xfail(reason="Google's rate limiter.")
def test_query():
    """Normal query with latin encoding should give non empty result."""
    result = gs.query('<NAME>', gs.FORMAT_BIBTEX)
    assert len(result) > 0


@pytest.mark.xfail(reason="Google's rate limiter.")
def test_query_utf8():
    """Normal query with utf8 encoding should give non empty result."""
    result = gs.query("<NAME>", gs.FORMAT_BIBTEX)
    assert len(result) > 0

from gscholar import gscholar as gs

import pytest


@pytest.mark.xfail(reason="Google's rate limiter.")
def test_query():
    """Normal query with latin encoding should give non empty result."""
    result = gs.query('<NAME>', gs.FORMAT_BIBTEX)
    assert len(result) > 0


@pytest.mark.xfail(reason="Google's rate limiter.")
def test_query_utf8():
    """Normal query with utf8 encoding should give non empty result."""
    result = gs.query("<NAME>", gs.FORMAT_BIBTEX)
    assert len(result) > 0
Normal query with latin encoding should give non empty result. Normal query with utf8 encoding should give non empty result.