changeset 10:d63ae03cc300

* fix up __init__ imports * stub test
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 24 Feb 2012 14:52:53 -0800
parents 562230cc2e86
children c41a946d34af
files paint/__init__.py paint/package.py tests/doctest.txt
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/paint/__init__.py	Thu Feb 23 17:49:05 2012 -0800
+++ b/paint/__init__.py	Fri Feb 24 14:52:53 2012 -0800
@@ -1,2 +1,2 @@
-#
+from package import *
 
--- a/paint/package.py	Thu Feb 23 17:49:05 2012 -0800
+++ b/paint/package.py	Fri Feb 24 14:52:53 2012 -0800
@@ -9,6 +9,8 @@
 import urllib2
 import utils
 
+__all__ = ['Package']
+
 class Package(object):
     # XXX much of this is generic resource stuff and should be split off
 
--- a/tests/doctest.txt	Thu Feb 23 17:49:05 2012 -0800
+++ b/tests/doctest.txt	Fri Feb 24 14:52:53 2012 -0800
@@ -7,5 +7,5 @@
 
 Run some tests.  This test will fail, please fix it:
 
-    >>> assert True == False
+    >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz')