6
from udd.scripts import list_packages
9
class TestListPackages(tests.TestCaseWithConfig):
12
# FIXME: this query the real launchpad which we can't afford as it's
13
# too long for testing -- vila 2011-12-09
14
raise self.skip("Needs a faked launchpad"
15
" or a severely reduced selection")
16
# Nevertheless, I've completed a succesful run of this test which
17
# created > 11.500 requests to lp (observed in the /tmp dir used for
18
# caching the responses), created a > 7M packages.db and took > 4 hours
19
# (which first triggered the new bzr alarm protection against hung
20
# tests which I overrided in bazaar.conf with selftest.timeout =
21
# 60000), pfew, not a test you want (nor can) run repeatedly :-/ --
24
# A lock has been created under the test hierarchy
25
self.assertTestPathExists('locks/scripts/list_packages')