Esempio n. 1
0
def test_fn_url2title_when_user():
	url = "http://en.wikipedia.org/User:Taniki"

	assert url2title(url) == "User:Taniki"
Esempio n. 2
0
def test_fn_url2title():
	url = "http://en.wikipedia.org/wiki/Ant"

	assert url2title(url) == "Ant"