[Testbot] Plone 4.3 - Python 2.6 - Build # 1870 - Still failing! - 7 failure(s)

jenkins at plone.org jenkins at plone.org
Mon Mar 17 01:15:02 UTC 2014


-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 1870 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-4.3-python-2.6/1870/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.schemaeditor
Branch: refs/heads/master
Date: 2014-03-16T17:41:07-07:00
Author: David Glick (davisagli) <david at glicksoftware.com>
Commit: https://github.com/plone/plone.schemaeditor/commit/1c84921c46bf1f2393f015fd168cd6bbad071cf2

fix tests

Files changed:
M plone/schemaeditor/configure.zcml
M plone/schemaeditor/testing.py
M plone/schemaeditor/tests/browser_testing.zcml
M plone/schemaeditor/tests/choice.txt
M plone/schemaeditor/tests/fixtures.py
M plone/schemaeditor/tests/robot_testing.zcml

diff --git a/plone/schemaeditor/configure.zcml b/plone/schemaeditor/configure.zcml
index 34bb330..552fa34 100644
--- a/plone/schemaeditor/configure.zcml
+++ b/plone/schemaeditor/configure.zcml
@@ -5,6 +5,7 @@
     i18n_domain="plone.schemaeditor">
 
     <include package="plone.z3cform"/>
+    <include package="plone.protect" />
 
     <i18n:registerTranslations directory="locales"/>
 
diff --git a/plone/schemaeditor/testing.py b/plone/schemaeditor/testing.py
index 4a861e5..1385328 100644
--- a/plone/schemaeditor/testing.py
+++ b/plone/schemaeditor/testing.py
@@ -33,8 +33,6 @@ def setUpPloneSite(self, portal):
         """Set up Plone."""
         # Install into Plone site using portal_setup
         applyProfile(portal, 'plone.schemaeditor.tests:testing')
-        #applyProfile(portal, 'plone.app.z3cform:default')
-        #applyProfile(portal, 'plone.app.dexterity:default')
 
         # Login and create some test content
         setRoles(portal, TEST_USER_ID, ['Manager'])
diff --git a/plone/schemaeditor/tests/browser_testing.zcml b/plone/schemaeditor/tests/browser_testing.zcml
index 1f80d9a..6a8ec7d 100644
--- a/plone/schemaeditor/tests/browser_testing.zcml
+++ b/plone/schemaeditor/tests/browser_testing.zcml
@@ -2,10 +2,15 @@
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser">
 
+    <include package="Products.GenericSetup" file="meta.zcml" />
     <include package="Products.Five" file="meta.zcml" />
     <include package="Products.Five" />
     <include package="plone.schemaeditor"/>
 
+    <!-- dummy keyring -->
+    <utility component=".fixtures.DummyKeyManager"
+             provides="plone.keyring.interfaces.IKeyManager" />
+
     <!-- dummy schema editing context -->
     <browser:page
         name="schemaeditor"
diff --git a/plone/schemaeditor/tests/choice.txt b/plone/schemaeditor/tests/choice.txt
index 8637a1a..7e64ce3 100644
--- a/plone/schemaeditor/tests/choice.txt
+++ b/plone/schemaeditor/tests/choice.txt
@@ -206,5 +206,5 @@ Back to the edit form, vocabulary name is selected.
     >>> browser.getLink(url='categories').click()
     >>> print browser.contents
     <...
-    ... selected="selected">plone.schemaeditor.test.Categories</option...
+    ... selected>plone.schemaeditor.test.Categories</option...
     ...
diff --git a/plone/schemaeditor/tests/fixtures.py b/plone/schemaeditor/tests/fixtures.py
index 6eaa078..eeee90c 100644
--- a/plone/schemaeditor/tests/fixtures.py
+++ b/plone/schemaeditor/tests/fixtures.py
@@ -69,3 +69,14 @@ class CategoriesVocabulary(BaseVocabulary):
     values_list = [('php', u'PHP'),
                    ('c', u'C'),
                    ('ruby', u'Ruby')]
+
+
+class DummyKeyring(object):
+
+    def random(self):
+        return 'a'
+
+
+DummyKeyManager = {
+    u'_forms': DummyKeyring(),
+}
diff --git a/plone/schemaeditor/tests/robot_testing.zcml b/plone/schemaeditor/tests/robot_testing.zcml
index f7f76ee..572a28b 100644
--- a/plone/schemaeditor/tests/robot_testing.zcml
+++ b/plone/schemaeditor/tests/robot_testing.zcml
@@ -6,7 +6,6 @@
 
     <include package="plone.schemaeditor"/>
 
-	<include package="Products.GenericSetup" file="meta.zcml" />
     <gs:registerProfile
         name="testing"
         title="plone.schemaeditor tests"




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 3800 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140317/a2902b17/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 167766 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140317/a2902b17/attachment-0003.obj>


More information about the Testbot mailing list