view 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
line wrap: on
line source

Test PaInt
==========

The obligatory imports::

    >>> import paint

Get the dependencies of a package::

    >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False)
    >>> dependencies = jetperf.dependencies()
    >>> 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'}
    True
    >>> jetperf._cleanup()