-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpoint some code before I rework it
- Loading branch information
1 parent
68b86c6
commit aaa5192
Showing
4 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:meta="http://namespaces.zope.org/meta" | ||
i18n_domain="zope" | ||
> | ||
|
||
<!-- Turn on the devmode --> | ||
<meta:provides feature="devmode" /> | ||
|
||
<!-- This file is the equivalent of site.zcml and it is --> | ||
<!-- used for functional testing setup --> | ||
|
||
<include package="zope.app" /> | ||
<include package="zope.app" file="ftesting.zcml" /> | ||
|
||
<include files="zopeskel/etc/package-includes/*-meta.zcml" /> | ||
<include files="zopeskel/etc/package-includes/*-configure.zcml" /> | ||
<include files="zopeskel/etc/package-includes/*-ftesting.zcml" /> | ||
|
||
<include file="securitypolicy.zcml" /> | ||
<include file="securitypolicy-ftesting.zcml" /> | ||
|
||
<!-- Principals --> | ||
|
||
<unauthenticatedPrincipal | ||
id="zope.anybody" | ||
title="Unauthenticated User" /> | ||
|
||
<unauthenticatedGroup | ||
id="zope.Anybody" | ||
title="Unauthenticated Users" | ||
/> | ||
|
||
<authenticatedGroup | ||
id="zope.Authenticated" | ||
title="Authenticated Users" | ||
/> | ||
|
||
<everybodyGroup | ||
id="zope.Everybody" | ||
title="All Users" | ||
/> | ||
|
||
<!-- Principal that tests generally run as --> | ||
<principal | ||
id="zope.mgr" | ||
title="Manager" | ||
login="mgr" | ||
password="mgrpw" /> | ||
|
||
<!-- Bootstrap principal used to make local grant to the principal above --> | ||
<principal | ||
id="zope.globalmgr" | ||
title="Manager" | ||
login="globalmgr" | ||
password="globalmgrpw" /> | ||
|
||
<grant role="zope.Manager" principal="zope.globalmgr" /> | ||
|
||
<includeOverrides file="overrides_ftesting.zcml" /> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
import re | ||
import sys | ||
import time | ||
from test import pystone | ||
|
||
class AmbiguityError(KeyError): | ||
pass | ||
|