Fix cross-project authorization test expectations
We implemented a couple of tests in manila-tempest-plugin that attempt to list or get an export location for a share that is not owned by a given user. These tests were expecting a 403 (unauthorized) exception, which is in line with manila’s current behavior.
However, such tests focus on a scenario that guesses the UUID of the share, meaning a 403 will confirm the existence of the resource.
The manila core code fixed that issue, so we need to adapt the tests to expect a 404 (Not found) exception instead.
Related-Bug: #2161412 Change-Id: Ifcd828397671655e3a31b5a2f83142ea897e5ee8 Signed-off-by: Carlos da Silva ces.eduardo98@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号