def testopendocx():
 if isinstance(opendocx(TEST_FILE), lxml.etree._Element):
  pass
 else:
  assert False

def testopendocx ( ) : if isinstance ( opendocx ( TEST_FILE ) , lxml . etree . _Element ) : pass else : assert False
ensure an etree element is returned .