Fix the notification devref location in exception

When the doc structure was changed the location of the notification
devref also changed. This patch updates the reference to this doc in
the AssertionError emited in the test if new legacy notification is
introduced.

Change-Id: Iff30752bac64801ad8950eea5861d2b230f30fdf
This commit is contained in:
Balazs Gibizer
2018-03-05 17:38:52 +01:00
parent 5d2add7453
commit d5f49eda5c

View File

@@ -368,7 +368,7 @@ class LegacyValidatingNotifier(object):
]
message = _('%(event_type)s is not a versioned notification and not '
'whitelisted. See ./doc/source/notification.rst')
'whitelisted. See ./doc/source/reference/notifications.rst')
def __init__(self, notifier):
self.notifier = notifier