def setUpClass(cls): cls.console_output_xml = ( """<?xml version='1.0' encoding='UTF-8'?> <output>some output</output>""") cls.console_output = VncConsoleOutput.deserialize( cls.console_output_xml, "xml")
def setUpClass(cls): cls.console_output_xml = ("""<?xml version='1.0' encoding='UTF-8'?> <output>some output</output>""") cls.console_output = VncConsoleOutput.deserialize( cls.console_output_xml, "xml")
def setUpClass(cls): cls.console_output_json = """ {"output": "some output"} """ cls.console_output = VncConsoleOutput.deserialize( cls.console_output_json, "json")