dell / python-powerstore

Python library for Dell PowerStore
Apache License 2.0
17 stars 12 forks source link

get_volumes filter_dict does not work. #26

Open wrbst opened 9 months ago

wrbst commented 9 months ago

https://github.com/dell/python-powerstore/blob/8810b6314d04730527b61745e05ec3d7cc8befdf/PyPowerStore/tests/unit_tests/test_volume.py#L81

        querystring = {'name': 'ilike.*test*'}
        querystring.update(constants.SELECT_ID_AND_NAME)

In: querystring Out: {'name': 'ilike.test', 'select': 'id,name'}

Which leads to: PyPowerStore.utils.exception.PowerStoreException: HTTP code: 400, Bad Request [{'messages': [{'code': '0xE04040020008', 'severity': 'Error', 'message_l10n': 'Unable to parse passed url.'}]}]

Double verified in Postman as well - same error.