Commits

Anonymous committed 2073e5e

[svn r9930] EstimationToolsPlugin: Add dummy req.tz to support latest Trac 0.12 for running tests.

Comments (0)

Files changed (3)

estimationtools/tests/burndownchart.py

         self.req = Mock(href = Href('/'),
                         abs_href = Href('http://www.example.com/'),
                         perm = MockPerm(),
-                        authname='anonymous')
+                        authname='anonymous',
+                        tz='')
         self.formatter = Mock(req=self.req)
         
     def _insert_ticket(self, estimation):

estimationtools/tests/hoursremaining.py

         self.req = Mock(href = Href('/'),
                         abs_href = Href('http://www.example.com/'),
                         perm = MockPerm(),
-                        authname='anonymous')
+                        authname='anonymous',
+                        tz='')
         self.formatter = Mock(req=self.req)
        
     def _insert_ticket(self, estimation, status='open'):

estimationtools/tests/workloadchart.py

         self.req = Mock(href = Href('/'),
                         abs_href = Href('http://www.example.com/'),
                         perm = MockPerm(),
-                        authname='anonymous')
+                        authname='anonymous',
+                        tz='')
         self.formatter = Mock(req=self.req)
        
     def _insert_ticket(self, estimation, owner):