ó Â>Sc@s?ddlZddlZdejfd„ƒYZejƒdS(iÿÿÿÿNtTcBseZd„Zd„ZRS(cCsqtjjƒ}|j|dƒ|jtjj|ƒdƒ|jttjj|ƒ|j tjj |ƒƒdS(sget_uninstalled_package()tN( tapportt packagingtget_uninstalled_packagetassertNotEqualtNonetget_available_versiont assertRaisest ValueErrort get_versiont assertTruetis_distro_package(tselftp((s-/usr/share/apport/testsuite/test_packaging.pyttest_get_uninstalled_packages cCs¢tjjƒ\}}|jt|ƒtƒ|jt|ƒtƒ|jt|ƒdƒ|jt|ƒdƒtjjƒ\}}|j||f||fƒdS(sget_os_version()iiN(RRtget_os_versiont assertEqualttypetstrt assertGreatertlen(R tntvtn2tv2((s-/usr/share/apport/testsuite/test_packaging.pyttest_get_os_versions(t__name__t __module__RR(((s-/usr/share/apport/testsuite/test_packaging.pyRs (tunittestRtTestCaseRtmain(((s-/usr/share/apport/testsuite/test_packaging.pyts