def test_no_events(self):
     self.set_field_return_value( \
         '<?xml version="1.0" encoding="ISO-8859-1"?>' \
         '<EventChannel xmlns="urn:schemas-cosylab-com:EventChannel:1.0"' \
         ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' \
         ' IntegrationLogs="true">' \
         '</EventChannel>')
     self.assertEqual({}, CDBP.getEventHandlerTimeoutDict('Key'))
 def test_no_events(self):
     self.set_field_return_value( \
         '<?xml version="1.0" encoding="ISO-8859-1"?>' \
         '<EventChannel xmlns="urn:schemas-cosylab-com:EventChannel:1.0"' \
         ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' \
         ' IntegrationLogs="true">' \
         '</EventChannel>')
     self.assertEqual({}, CDBP.getEventHandlerTimeoutDict('Key'))
 def test_no_channel(self):
     self.set_field_exception(Exception)
     self.assertEqual({}, CDBP.getEventHandlerTimeoutDict('Key'))
 def test_no_channel(self):
     self.set_field_exception(Exception)
     self.assertEqual({}, CDBP.getEventHandlerTimeoutDict('Key'))