comparison tests/doctest.txt @ 54:a8236b97abd3

separate methods for gathering package information
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 23 Jan 2013 15:12:37 -0800
parents 026d693cd561
children 042a1b2a3e8a
comparison
equal deleted inserted replaced
53:c588375a7ce4 54:a8236b97abd3
10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) 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()
15
16 Test different ways of getting package information. First we'll use
17 an interface that overrides ``setuptools.setup``::
18
19 >>> import paint.info