annotate tests/doctest.txt @ 32:f2e31ac03bb3

flushing this out
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 30 Mar 2012 13:40:32 -0700
parents 90ef5d1ebff3
children daa35ff485c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 Test PaInt
23
90ef5d1ebff3 formatting
Jeff Hammel <jhammel@mozilla.com>
parents: 21
diff changeset
2 ==========
0
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
11
c41a946d34af stub out info method
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
4 The obligatory imports::
0
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 >>> import paint
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
11
c41a946d34af stub out info method
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
8 Get the dependencies of a package::
0
96362e527bd6 initial package
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
10
d63ae03cc300 * fix up __init__ imports
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz')
11
c41a946d34af stub out info method
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
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
11
c41a946d34af stub out info method
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
14 >>> jetperf.cleanup()