'Test write and check read of data to server.'

def test_write_check_read(self):

    self.test_write()
    time.sleep(1)
    rsp = self.cli.query(u'SELECT    *    FROM    cpu_load_short', database=u'db')
    self.assertListEqual([{u'value': 0.64, u'time': u'2009-11-10T23:00:00Z', u'host': u'server01', u'region': u'us-west'}], list(rsp.get_points()))
