예제 #1
0
def test_getInfo_2():
    assert offlineapi.getInfo(
        egyptinfo,
        {"capital", "population"}) == '{capital:Cairo,population:91290000,}'
예제 #2
0
def test_getInfo_4():
    assert offlineapi.getInfo(egyptinfo, {"capal", "poption"}) == None
예제 #3
0
def test_getInfo_1():
    assert offlineapi.getInfo(egyptinfo, {"capital"}) == '{capital:Cairo,}'