'Test update cluster admin pass for TestInfluxDBClient.'

def test_update_cluster_admin_password(self):

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