def test_integrated_wronginfo(): assert offlineapi.main("Egypt", "capitaadf,population") == "invalid info name"
def test_integrated_success2(): assert offlineapi.main( "Egypt", "capital,population") == '{capital:Cairo,population:91290000,}'
def test_integrated_wrongcountry(): assert offlineapi.main( "dsdfasdf", "capital,population") == "this is not a right country name"
def test_integrated_success1(): assert offlineapi.main("Egypt", "capital") == '{capital:Cairo,}'