def METHOD_NAME(self):
    from supervisor.childutils import eventdata
    payload = 'a:1 b:2\nthedata\n'
    headers, data = eventdata(payload)
    self.assertEqual(headers, {'a':'1', 'b':'2'})
    self.assertEqual(data, 'thedata\n')