<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,4 +7,5 @@ dist
 downloads
 eggs
 parts
-src/*.egg-info
\ No newline at end of file
+src/*.egg-info
+coverage
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,12 +1,19 @@
 [buildout]
-parts = python django-1.0 django-1.1
+parts = python django-1.0 django-1.1 coverage
 develop = .
 eggs = jellyroll
+       coverage
 
 [python]
 recipe = zc.recipe.egg
 interpreter = python
 eggs = ${buildout:eggs}
+extra-paths = ${coverage:location}
+
+[coverage]
+recipe = iw.recipe.subversion
+urls = 
+    http://opensource.55minutes.com/svn/python/trunk/django/apps/test_coverage/@41 test_coverage
 
 [django-1.0]
 recipe = djangorecipe
@@ -17,6 +24,7 @@ settings = testsettings
 test = jellyroll
 testrunner = test-1.0
 eggs = ${buildout:eggs}
+extra-paths = ${python:extra-paths}
 
 [django-1.1]
 recipe = djangorecipe
@@ -27,3 +35,4 @@ settings = testsettings
 test = jellyroll
 testrunner = test-1.1
 eggs = ${buildout:eggs}
+extra-paths = ${python:extra-paths}
\ No newline at end of file</diff>
      <filename>buildout.cfg</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,6 @@ def active_providers():
                 mod = __import__(p, '', '', [''])
             except ImportError, e:
                 log.error(&quot;Couldn't import provider %r: %s&quot; % (p, e))
-                raise
             if mod.enabled():
                 providers[p] = mod
     return providers</diff>
      <filename>src/jellyroll/providers/__init__.py</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,34 @@
+import os
+
+BASE = os.path.abspath(os.path.dirname(__file__))
+
 DATABASE_ENGINE = 'sqlite3'
 DATABASE_NAME = '/tmp/jellyroll.db'
-INSTALLED_APPS = ['django.contrib.contenttypes', 'tagging', 'jellyroll']
\ No newline at end of file
+INSTALLED_APPS = ['django.contrib.contenttypes', 'tagging', 'jellyroll']
+
+JELLYROLL_PROVIDERS = ['jellyroll.providers.%s' % p[:-3]
+                       for p in os.listdir(os.path.join(BASE, 'providers'))
+                       if p.endswith('.py') and not p.startswith('_')]
+
+# Silence logging
+import logging
+
+class Silence(logging.Handler):
+    def emit(self, record):
+        pass
+
+logging.getLogger(&quot;jellyroll&quot;).addHandler(Silence())
+
+# Coverage, if installed
+try:
+    from test_coverage.settings import *
+except ImportError:
+    pass
+else:
+    INSTALLED_APPS.append('test_coverage')
+    
+    COVERAGE_REPORT_HTML_OUTPUT_DIR = os.path.join(os.path.dirname(os.path.dirname(BASE)), 'coverage')
+    COVERAGE_MODULE_EXCLUDES = ['^django\.', '^tagging\.', 'settings$', '\.templates$', '\.fixtures$']
+    
+    if not os.path.exists(COVERAGE_REPORT_HTML_OUTPUT_DIR):
+        os.mkdir(COVERAGE_REPORT_HTML_OUTPUT_DIR)
\ No newline at end of file</diff>
      <filename>src/jellyroll/testsettings.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>98d5c6ec74b1a66c967779139b20bd8df482b921</id>
    </parent>
  </parents>
  <author>
    <name>Jacob Kaplan-Moss</name>
    <email>jacob@jacobian.org</email>
  </author>
  <url>http://github.com/jacobian/jellyroll/commit/46c9364045d068b0eaa2d73824beab61f8e7bdde</url>
  <id>46c9364045d068b0eaa2d73824beab61f8e7bdde</id>
  <committed-date>2009-08-17T08:31:54-07:00</committed-date>
  <authored-date>2009-08-17T08:31:54-07:00</authored-date>
  <message>Add test coverae support (via ./bin/django-1.X test_coverage)</message>
  <tree>901b8555c07e4f3cac699b2a71b22d948da564f1</tree>
  <committer>
    <name>Jacob Kaplan-Moss</name>
    <email>jacob@jacobian.org</email>
  </committer>
</commit>
