'Test get users for TestInfluxDBClient object.'

def test_get_list_users(self):

    example_response = u'{"results":[{"series":[{"columns":["user","admin"],"values":[["test",false]]}]}]}'
    with requests_mock.Mocker() as m:
        m.register_uri(requests_mock.GET, u'http://localhost:8086/query', text=example_response)
        self.assertListEqual(self.cli.get_list_users(), [{u'user': u'test', u'admin': False}])
