l.s.t.t.TestGetUserAgentDistroSeries(unittest.TestCase) : class documentation

Part of lp.services.tests.test_browser_helpers View In Hierarchy

Test that the user_agent string is correctly parsed for os version.
Method test_get_user_agent_distroseries_when_present The version number is returned when present.
Method test_get_user_agent_distroseries_when_invalid None should be returned when the version is not matched.
def test_get_user_agent_distroseries_when_present(self):
The version number is returned when present.
def test_get_user_agent_distroseries_when_invalid(self):
None should be returned when the version is not matched.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.