See note on https://github.com/ral-facilities/inventory-management-system-api/pull/379. We currently raise NonLeafCatalogueCategoryError as tested in test_create_with_non_leaf_catalogue_category. But for the catalogue category property endpoints we instead use an InvalidActionError. These should be unified.
See note on https://github.com/ral-facilities/inventory-management-system-api/pull/379. We currently raise
NonLeafCatalogueCategoryError
as tested intest_create_with_non_leaf_catalogue_category
. But for the catalogue category property endpoints we instead use anInvalidActionError
. These should be unified.