view tests/doctest.txt @ 21:4df3e715817d

now have passing tests again
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 27 Feb 2012 13:44:52 -0800
parents c41a946d34af
children 90ef5d1ebff3
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')
    >>> 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()