[Testbot] Plone 5.0 - Python 2.7 - Build # 3090 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Sat Aug 23 05:30:15 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 3090 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/3090/


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

Repository: plone.batching
Branch: refs/heads/master
Date: 2014-08-23T01:13:36+02:00
Author: Gil Forcada (gforcada) <gforcada at gnome.org>
Commit: https://github.com/plone/plone.batching/commit/99779f8d81e41832d4eadc088057e7121600e57b

Whitespaces cleanup

Files changed:
M plone/batching/batching.rst
M plone/batching/batchnavigation.pt
M plone/batching/batchnavigation_bootstrap.pt
M plone/batching/configure.zcml
M plone/batching/tests.py

diff --git a/plone/batching/batching.rst b/plone/batching/batching.rst
index fbc883b..a4409d8 100644
--- a/plone/batching/batching.rst
+++ b/plone/batching/batching.rst
@@ -42,7 +42,7 @@ The other is more convenient for use with template.
 
 It is also possible to ask for the items on the current page.
 
-  >>> batch.items_on_page 
+  >>> batch.items_on_page
   10
 
 We can get the number of pages in a batch. This is actually the same as requesting the number of the last page.
@@ -83,7 +83,7 @@ It will also do simple math for giving the next and previous page numbers.
   >>> batch.pagenumber = 5
   >>> batch.previouspage
   4
-  
+
 We can also ask if there are any next or previous pages.
 
   >>> batch.has_next
@@ -119,7 +119,7 @@ Keep in mind that the navlist centers around the current page when it can.
   >>> batch.pagenumber = 10
   >>> batch.navlist
   [8, 9, 10, 11, 12]
-  
+
 You can specify the navlist size to be any size you want.
 
   >>> other_batch = Batch.fromPagenumber(items=range(333), pagesize=10, pagenumber=10,
@@ -155,7 +155,7 @@ special helpers.
   False
 
 For extra visual smoothness you might also want to display an elipses next to
-your quicklink to the first page. 
+your quicklink to the first page.
 
   >>> batch.pagenumber = 15
   >>> batch.second_page_not_in_navlist
diff --git a/plone/batching/batchnavigation.pt b/plone/batching/batchnavigation.pt
index 6563029..e85d0a9 100644
--- a/plone/batching/batchnavigation.pt
+++ b/plone/batching/batchnavigation.pt
@@ -45,7 +45,7 @@
     <!-- Pagelist with links to previous pages for quick navigation -->
     <span tal:repeat="pagenumber batch/previous_pages"
           tal:omit-tag="" >
-      <a href="" tal:content="pagenumber" 
+      <a href="" tal:content="pagenumber"
          tal:attributes="href python:view.make_link(pagenumber)"/>
     </span>
 
@@ -58,7 +58,7 @@
     <!-- Pagelist with links to next pages for quick navigation -->
     <span tal:repeat="pagenumber batch/next_pages"
           tal:omit-tag="" >
-      <a href="" tal:content="pagenumber" 
+      <a href="" tal:content="pagenumber"
          tal:attributes="href python:view.make_link(pagenumber)"/>
     </span>
 
diff --git a/plone/batching/batchnavigation_bootstrap.pt b/plone/batching/batchnavigation_bootstrap.pt
index 4b5265b..4ea9ce0 100644
--- a/plone/batching/batchnavigation_bootstrap.pt
+++ b/plone/batching/batchnavigation_bootstrap.pt
@@ -39,7 +39,7 @@
 
     <!-- Pagelist with links to previous pages for quick navigation -->
     <li tal:repeat="pagenumber batch/previous_pages">
-      <a href="" tal:content="pagenumber" 
+      <a href="" tal:content="pagenumber"
         tal:attributes="href python:view.make_link(pagenumber)"/>
     </li>
 
@@ -50,7 +50,7 @@
 
     <!-- Pagelist with links to next pages for quick navigation -->
     <li tal:repeat="pagenumber batch/next_pages">
-      <a href="" tal:content="pagenumber" 
+      <a href="" tal:content="pagenumber"
         tal:attributes="href python:view.make_link(pagenumber)"/>
     </li>
 
diff --git a/plone/batching/configure.zcml b/plone/batching/configure.zcml
index 132d4aa..de1467b 100644
--- a/plone/batching/configure.zcml
+++ b/plone/batching/configure.zcml
@@ -1,5 +1,5 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope" 
+    xmlns="http://namespaces.zope.org/zope"
     xmlns:five="http://namespaces.zope.org/five"
     xmlns:browser="http://namespaces.zope.org/browser"
     i18n_domain="plone">
diff --git a/plone/batching/tests.py b/plone/batching/tests.py
index 6812ef9..3b442cc 100644
--- a/plone/batching/tests.py
+++ b/plone/batching/tests.py
@@ -126,11 +126,11 @@ def test_batch_bsize(self):
         small_sequence = range(3)
         # Page 1
         batch = BaseBatch.fromPagenumber(small_sequence, 2, 1)
-        self.assertEqual(batch.length, 2)        
+        self.assertEqual(batch.length, 2)
 
         # Page 2
         batch = BaseBatch.fromPagenumber(small_sequence, 2, 2)
-        self.assertEqual(batch.length, 1)        
+        self.assertEqual(batch.length, 1)
 
     def test_multiple_pages_smaller(self):
         """sequence smaller than batchsize"""
@@ -158,7 +158,7 @@ def test_quantumbatch(self):
 
 class DummyTemplate(object):
     macros = 'here are PT macros normally'
-    
+
     def __call__(self):
         return "Template called!"
 
@@ -167,19 +167,19 @@ class TestBrowser(unittest.TestCase):
 
     def test_batchmacrosview(self):
         view = BatchMacrosView(None, None)
-        setattr(view, 'template', DummyTemplate())   # fake view creation        
+        setattr(view, 'template', DummyTemplate())   # fake view creation
         self.assertEqual(view.macros, 'here are PT macros normally')
-        
+
     def test_batchview_base(self):
         from zope.publisher.browser import TestRequest
         view = BatchView(None, TestRequest())
-        setattr(view, 'index', DummyTemplate())   # fake view creation 
+        setattr(view, 'index', DummyTemplate())   # fake view creation
         self.assertRaises(NotImplementedError, view.make_link, 0)
         rendered = view([1, 2, 3], ['a', 'b'])
         self.assertEqual(rendered, "Template called!")
         self.assertEqual(view.batch, [1, 2, 3])
         self.assertEqual(view.batchformkeys, ['a', 'b'])
-        
+
     def test_batchview_plone(self):
         from zope.publisher.browser import TestRequest
         batch = BaseBatch([1, 2, 3, 4, 5, 6, 7], 3)
@@ -187,7 +187,7 @@ def test_batchview_plone(self):
         setattr(request, 'ACTUAL_URL', 'http://nohost/dummy')
         view = PloneBatchView(None, request)
         rendered = view(batch, ['a', 'b'])
-        
+
         self.assertEqual(view.make_link(3),
                          'http://nohost/dummy?a=foo&b_start:int=6')
 




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


More information about the Testbot mailing list