[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:
Felipe Monteiro 2018-01-10 01:43:37 +00:00
parent d2a9f359d3
commit a16a1e24a7
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -114,7 +114,7 @@ Failed to perform action
POST ``/validatedesign``
-----------------
------------------------
Summary