def METHOD_NAME(self):
    self.autocommit(self.conn)
    self.conn.notifies = None
    self.listen('foo')
    self.notify('foo').communicate()
    time.sleep(0.5)
    self.conn.poll()
    self.assertEqual(self.conn.notifies, None)