[Checkins] SVN: gocept.registration/trunk/ - Feature: Made coverage
report available for package.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sun May 11 00:01:46 EDT 2008
Log message for revision 86631:
- Feature: Made coverage report available for package.
- Feature: Implement a testing registrations component that produces a
predictable hash.
Changed:
U gocept.registration/trunk/CHANGES.txt
U gocept.registration/trunk/buildout.cfg
U gocept.registration/trunk/setup.py
_U gocept.registration/trunk/src/
U gocept.registration/trunk/src/gocept/registration/registrations.py
U gocept.registration/trunk/src/gocept/registration/testing.py
-=-
Modified: gocept.registration/trunk/CHANGES.txt
===================================================================
--- gocept.registration/trunk/CHANGES.txt 2008-05-11 03:14:51 UTC (rev 86630)
+++ gocept.registration/trunk/CHANGES.txt 2008-05-11 04:01:45 UTC (rev 86631)
@@ -1,12 +1,17 @@
Changes
=======
-0.2.0 (unreleased)
+0.2.0 (2008-05-10)
------------------
-- Use IMailDelivery interface instead of IMailer.
+- Feature: Made coverage report available for package.
+- Feature: Implement a testing registrations component that produces a
+ predictable hash.
+- Feature: Use ``IMailDelivery`` interface instead of ``IMailer``.
+
+
0.1.0 (2008-03-28)
------------------
Modified: gocept.registration/trunk/buildout.cfg
===================================================================
--- gocept.registration/trunk/buildout.cfg 2008-05-11 03:14:51 UTC (rev 86630)
+++ gocept.registration/trunk/buildout.cfg 2008-05-11 04:01:45 UTC (rev 86631)
@@ -1,5 +1,5 @@
[buildout]
-parts = test demo
+parts = test demo coverage-test coverage-report
develop = .
[app]
@@ -18,3 +18,14 @@
[test]
recipe = zc.recipe.testrunner
eggs = gocept.registration [test]
+
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = gocept.registration [test]
+defaults = ['--coverage', '../../coverage']
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')
Modified: gocept.registration/trunk/setup.py
===================================================================
--- gocept.registration/trunk/setup.py 2008-05-11 03:14:51 UTC (rev 86630)
+++ gocept.registration/trunk/setup.py 2008-05-11 04:01:45 UTC (rev 86631)
@@ -22,7 +22,7 @@
setup(
name = 'gocept.registration',
- version = "0.2.0dev",
+ version = "0.2.0",
author = "Christian Theune, Stephan Richter and others",
author_email = "mail at gocept.com",
description = "User self-registration",
Property changes on: gocept.registration/trunk/src
___________________________________________________________________
Name: svn:ignore
+ gocept.registration.egg-info
Modified: gocept.registration/trunk/src/gocept/registration/registrations.py
===================================================================
--- gocept.registration/trunk/src/gocept/registration/registrations.py 2008-05-11 03:14:51 UTC (rev 86630)
+++ gocept.registration/trunk/src/gocept/registration/registrations.py 2008-05-11 04:01:45 UTC (rev 86631)
@@ -20,7 +20,6 @@
import zope.app.container.btree
import zope.interface
-
class Registrations(zope.app.container.btree.BTreeContainer):
zope.interface.implements(gocept.registration.interfaces.IRegistrations)
Modified: gocept.registration/trunk/src/gocept/registration/testing.py
===================================================================
--- gocept.registration/trunk/src/gocept/registration/testing.py 2008-05-11 03:14:51 UTC (rev 86630)
+++ gocept.registration/trunk/src/gocept/registration/testing.py 2008-05-11 04:01:45 UTC (rev 86631)
@@ -13,10 +13,13 @@
##############################################################################
"""A utility for managing registrations."""
-from gocept.registration import registration
+from gocept.registration import registrations
-class TestingRegistrations(registration.Registrations):
+class TestingRegistrations(registrations.Registrations):
"A registrations object that produces a non-obfuscated hash for testing."
- def _createHeash(self, email, data=None):
+ def __init__(self, context):
+ super(TestingRegistrations, self).__init__()
+
+ def _createHash(self, email, data=None):
return email + '-hash'
More information about the Checkins
mailing list