Exemplo n.º 1
0
    def test_processor(self):
        oob_processor = OutOfBandProcessor()
        self.assertIsNotNone(oob_processor)
        self.assertIsNone(oob_processor._xml)

        oob_content = ET.fromstring("<something>process</something>")
        oob_processor.parse_oob_xml(oob_content)
        self.assertIsNotNone(oob_processor._xml)

        self.assertEqual(
            "", oob_processor.execute_oob_command(self._client_context))

        self.assertEqual(
            "",
            oob_processor.process_out_of_bounds(self._client_context,
                                                oob_content))
Exemplo n.º 2
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._command = None
Exemplo n.º 3
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._title = None
     self._description = None
Exemplo n.º 4
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._title = None
     self._list = None
Exemplo n.º 5
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._number = None
Exemplo n.º 6
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._url = None
Exemplo n.º 7
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._recipient = None
     self._message = None
Exemplo n.º 8
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._to = None
     self._subject = None
     self._body = None
Exemplo n.º 9
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
Exemplo n.º 10
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._search = None
Exemplo n.º 11
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._location = None
Exemplo n.º 12
0
 def __init__(self):
     OutOfBandProcessor.__init__(self)
     self._robot = {}