Mercurial > hg > PaInt
comparison tests/doctest.txt @ 50:daa35ff485c2
fixes
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Wed, 02 Jan 2013 13:06:49 -0800 | 
| parents | 90ef5d1ebff3 | 
| children | 026d693cd561 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 49:85374a69cf89 | 50:daa35ff485c2 | 
|---|---|
| 5 | 5 | 
| 6 >>> import paint | 6 >>> import paint | 
| 7 | 7 | 
| 8 Get the dependencies of a package:: | 8 Get the dependencies of a package:: | 
| 9 | 9 | 
| 10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz') | 10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) | 
| 11 >>> dependencies = jetperf.dependencies() | 11 >>> dependencies = jetperf.dependencies() | 
| 12 >>> 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'} | 12 >>> 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'} | 
| 13 True | 13 True | 
| 14 >>> jetperf.cleanup() | 14 >>> jetperf.cleanup() | 
