Allow spec to have RFE from any ironic project

This changes the unit test that does some checking of
a spec's sections, so that it accepts the (RFE) bug
URL from any (ironic) project, instead of only the
'ironic' project.

Change-Id: Id4c06018cbb0a23346ec49b98d0dfdcf433b5856
This commit is contained in:
Ruby Loo 2017-03-02 09:48:53 -05:00
parent 1e707316f8
commit 02ac28be04
1 changed files with 8 additions and 1 deletions

View File

@ -28,7 +28,14 @@ DRAFT_REQUIRED_TITLES = {
'Proposed change': [],
}
BUG_URL = 'https://bugs.launchpad.net/ironic/+bug/'
# There has to be an RFE bug in launchpad associated with this spec,
# and it could be in any ironic project (except for ironic-inspector
# which has its own specs repository), not just 'ironic'. However,
# checking for the presence of an ironic project in the URL isn't that
# useful since a valid bug URL might not have anything to do with ironic;
# e.g. https://bugs.launchpad.net/ironic/+bug/12345 :)
BUG_URL = 'https://bugs.launchpad.net/'
BLUEPRINT_URL = 'https://blueprints.launchpad.net/ironic/+spec/'