예제 #1
0
def test_fn_url2title_when_user():
	url = "http://en.wikipedia.org/User:Taniki"

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

	assert url2title(url) == "Ant"