def METHOD_NAME(self):
    minipo = 'msgid "String"\nmsgstr "String"\n'
    tmx = self.po2tmx(minipo, sourcelanguage="xh")
    print("The generated xml:")
    print(bytes(tmx))
    header = tmx.document.find("header")
    assert header.get("srclang") == "xh"