Commit fe6d046d authored by Arnaud Fontaine's avatar Arnaud Fontaine

Use an absolute URL to get the number of remaining activities


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44972 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 122a2409
...@@ -442,7 +442,7 @@ class Browser(ExtendedTestBrowser): ...@@ -442,7 +442,7 @@ class Browser(ExtendedTestBrowser):
@rtype: int @rtype: int
""" """
activity_counter = self.mech_browser.open_novisit( activity_counter = self.mech_browser.open_novisit(
'portal_activities/countMessage').read() self._erp5_base_url + 'portal_activities/countMessage').read()
return activity_counter and int(activity_counter) or 0 return activity_counter and int(activity_counter) or 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment