[TrivialFix] Fix documentation job failing on underline.
This PS fixes a trivial underline issue when running tox -e docs Traceback: Warning, treated as error: /opt/stack/armada/docs/source/operations/guide-api.rst:117:Title underline too short. POST ``/validatedesign`` ----------------- ERROR: InvocationError: '/opt/stack/armada/.tox/docs/bin/python setup.py build_sphinx' This also fixes a recent change to validate endpoint being renamed to validatedesign not also getting reflected in a unit test. This patch unblocks the Armada gate by correcting the test. Change-Id: I48852507b6868527fc08d661ef2c276e95db6469
This commit is contained in:
parent
d2a9f359d3
commit
a16a1e24a7
@ -26,5 +26,5 @@ class ValidationControllerNegativeRbacTest(base.BaseControllerTest):
|
||||
"""
|
||||
rules = {'armada:validate_manifest': policy_base.RULE_ADMIN_REQUIRED}
|
||||
self.policy.set_rules(rules)
|
||||
resp = self.app.simulate_post('/api/v1.0/validate')
|
||||
resp = self.app.simulate_post('/api/v1.0/validatedesign')
|
||||
self.assertEqual(403, resp.status_code)
|
||||
|
@ -114,7 +114,7 @@ Failed to perform action
|
||||
|
||||
|
||||
POST ``/validatedesign``
|
||||
-----------------
|
||||
------------------------
|
||||
|
||||
|
||||
Summary
|
||||
|
Loading…
Reference in New Issue
Block a user