Mercurial > hg > PaInt
view tests/doctest.txt @ 49:85374a69cf89
call in foreground to avoid hang :(
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 10 May 2012 15:24:51 -0700 |
parents | 90ef5d1ebff3 |
children | daa35ff485c2 |
line wrap: on
line source
Test PaInt ========== The obligatory imports:: >>> import paint Get the dependencies of a package:: >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz') >>> dependencies = jetperf.dependencies() >>> dependencies == {'mozharness': 'http://hg.mozilla.org/build/mozharness/archive/tip.tar.gz#egg=mozharness', 'talos': 'http://hg.mozilla.org/build/talos/archive/tip.tar.gz#egg=talos'} True >>> jetperf.cleanup()