l.b.b.t.test_expose : module documentation

Part of lp.bugs.browser.tests

Tests for helpers that expose data about a user to on-page JavaScript.
Class FakeRequest A request that implements some interfaces so adapting returns itself.
Class FakeTeam A faux team that just implements enough for the test.
Class FakeUser A faux user that has a hard-coded set of administered teams.
Function fake_absoluteURL An absoluteURL implementation that doesn't require ZTK for testing.
Class DemoEnum An example enum.
Class DemoContext Undocumented
Class TestExposeAdministeredTeams Test the function to expose administered team.
Class TestStructuralSubscriptionHelpers Test the helpers used to add data that the on-page JS can use.
Class TestIntegrationExposeUserSubscriptionsToJS Undocumented
def fake_absoluteURL(ob, request):
An absoluteURL implementation that doesn't require ZTK for testing.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.