Mercurial > hg > PaInt
annotate tests/doctest.txt @ 53:c588375a7ce4
starting a new strawman to work out kinks
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 02 Jan 2013 13:59:27 -0800 |
parents | 026d693cd561 |
children | a8236b97abd3 |
rev | line source |
---|---|
0 | 1 Test PaInt |
23 | 2 ========== |
0 | 3 |
11 | 4 The obligatory imports:: |
0 | 5 |
6 >>> import paint | |
7 | |
11 | 8 Get the dependencies of a package:: |
0 | 9 |
50 | 10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) |
11 | 11 >>> dependencies = jetperf.dependencies() |
21
4df3e715817d
now have passing tests again
Jeff Hammel <jhammel@mozilla.com>
parents:
11
diff
changeset
|
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'} |
4df3e715817d
now have passing tests again
Jeff Hammel <jhammel@mozilla.com>
parents:
11
diff
changeset
|
13 True |
52 | 14 >>> jetperf._cleanup() |