import sys
sys.path.append(".")
import pagetranslate as pt

class StubPt(pt.PageTranslate):
    def __init__(self, *x):
        pass

def country():
    p = StubPt()
    assert p.country("it") == "IT"
    assert p.country("en") == "US"
    assert p.country("ilo") == "PH"


