View Git repositories
You can browse the source code for the development focus branch or get a copy of the branch using the command:
bzr branch lp:zope2

Zope 2 has 2 active branches owned by 2 teams. There were 0 commits in the last month.

Bazaar branches

Name Status Last Modified Last Commit
Series: 4.0
1 Development 2017-01-18 10:31:15 UTC 2017-01-18
12132. Fixed dummy runTest on functional tes...

Author: Maurits van Rees
Revision Date: 2017-01-18 10:31:15 UTC

Fixed dummy runTest on functional test case. (#90)

In functional doc tests you can apparently have a test case that has
no runTest method. Until now the Testing package added a dummy
runTest method in that case, and set it to None.

But when this dummy runTest method gets called, you get an error:

  Error in test runTest (Testing.ZopeTestCase.ZopeTestCase.FunctionalTestCase)
  Traceback (most recent call last):
    File ".../lib/python2.7/unittest/", line 329, in run
  TypeError: 'NoneType' object is not callable

Simply importing Testing.ZopeTestCase.FunctionalTestCase in a new test
file may be enough to trigger this.

So this has something to do with the order in which tests are found.

I fixed it by making the dummy runTest method callable.

lp:~vcs-imports/zope2/trunk (Linked to a blueprint) 1 Development 2013-02-26 16:41:03 UTC 2013-02-26
11965. Moved to GitHub.

Author: srichter
Revision Date: 2013-02-26 16:41:03 UTC

Moved to GitHub.

12 of 2 results
You can't create new branches for Zope 2.