Mercurial > hg > PaInt
comparison tests/doctest.txt @ 56:042a1b2a3e8a
start flushing out tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 23 Jan 2013 16:01:29 -0800 |
parents | a8236b97abd3 |
children | d5e5c7496784 |
comparison
equal
deleted
inserted
replaced
55:72e521851f1a | 56:042a1b2a3e8a |
---|---|
1 Test PaInt | 1 Test PaInt |
2 ========== | 2 ========== |
3 | 3 |
4 The obligatory imports:: | 4 The obligatory imports:: |
5 | 5 |
6 >>> import os | |
6 >>> import paint | 7 >>> import paint |
7 | 8 |
8 Get the dependencies of a package:: | 9 Get the dependencies of a package:: |
9 | 10 |
10 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) | 11 >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) |
15 | 16 |
16 Test different ways of getting package information. First we'll use | 17 Test different ways of getting package information. First we'll use |
17 an interface that overrides ``setuptools.setup``:: | 18 an interface that overrides ``setuptools.setup``:: |
18 | 19 |
19 >>> import paint.info | 20 >>> import paint.info |
21 >>> dummy_path = os.path.join(here, 'dummy') | |
22 >>> package_info = paint.info.SetupOverridePackageInfo(dummy_path) |