from gscholar import gscholar as gs


def test_query():
    """Normal query with latin encoding should give non empty result."""
    result = gs.query('Albert Einstein', gs.FORMAT_BIBTEX)
    assert len(result) > 0


def test_query_utf8():
    """Normal query with utf8 encoding should give non empty result."""
    result = gs.query("Anders Jonas Ångström", gs.FORMAT_BIBTEX)
    assert len(result) > 0

@@ -30,16 +30,83 @@
  as gs%0A%0A
+import pytest%0A%0A%0A@pytest.mark.xfail(reason=%22Google's rate limiter.%22)
 %0Adef tes
@@ -277,16 +277,68 @@
 ) %3E 0%0A%0A%0A
+@pytest.mark.xfail(reason=%22Google's rate limiter.%22)%0A
 def test

allow the rate limited tests to fail