'Test add cluster admin for TestInfluxDBClient.'

def test_add_cluster_admin(self):

    with requests_mock.Mocker() as m:
        m.register_uri(requests_mock.POST, 'http://localhost:8086/cluster_admins')
        cli = InfluxDBClient(database='db')
        cli.add_cluster_admin(new_username='paul', new_password='laup')
        self.assertDictEqual(json.loads(m.last_request.body), {'name': 'paul', 'password': 'laup'})
