Bring this more into line with test_service_traversal (which is correct)
by using test_traverse instead, and rewrite the test for traversing to
the service factory to assert its actual behaviour of exporting the
service factory (even though that isn't currently very useful).
Bring this more into line with test_service_traversal (which is correct)
by using test_traverse instead, and rewrite the test for traversing to
the service factory to assert its actual behaviour of exporting the
service factory (even though that isn't currently very useful).
The warning handler sometimes emitted messages like this (with local
paths shortened for brevity):
The method SimpleViewClass from .../lib/lp/bugs/browser/../templates/buglisting-default.pt._getBatchNavigator
The doctest <doctest xx-bug-subscriptions.txt[4]>, at the line:
>>> browser.getControl('Save these changes').click()
This is clearly incomplete. With this change, we instead get:
The method SimpleViewClass from .../lib/lp/bugs/browser/../templates/buglisting-default.pt._getBatchNavigator
The doctest <doctest xx-bug-subscriptions.txt[4]>, at the line:
>>> browser.getControl('Save these changes').click()
.../env/lib/python2.7/site-packages/lazr/batchnavigator/_batchnavigator.py:82: PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs instead
return cgi.parse_qs(query_string, keep_blank_values=True)