예제 #1
0
def test_wikidata():
    results = _wikidata('tolstoi')
    assert len(results['search']) > 0
예제 #2
0
def test_wikidata():
    results = _wikidata('tolstoi')
    assert len(results['search']) > 0
예제 #3
0
def test_wikidata_missing():
    results = _wikidata('Catherine Breshkovksy')
    assert len(results['search']) == 0
예제 #4
0
def test_wikidata_missing():
    results = _wikidata('Catherine Breshkovksy')
    assert len(results['search']) == 0