test_update_disallowed_attributes tests incorrectly

Bug #1581583 reported by Niall Bunting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
In Progress
Medium
Niall Bunting

Bug Description

test_update_disallowed_attributes in glance/tests/unit/v2/test_images_resource.py

Does not work as intended. It does not test if the attributes are disallowed but actually falls back to a validation that happens later on in the code.

This is because _check_allowed does not actually work as expected.Therefore it should be fixed and added to the parts that are missing it.

summary: - check_allowed does not work
+ test_update_disallowed_attributes does not work
summary: - test_update_disallowed_attributes does not work
+ test_update_disallowed_attributes tests incorrectly
Changed in glance:
status: New → In Progress
Revision history for this message
Niall Bunting (niall-bunting) wrote :
description: updated
Changed in glance:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.