Commit 5fd95ced authored by Arnaud Fontaine's avatar Arnaud Fontaine

Rename erp5.util.test_browser to erp5.util.testbrowser.

It is more consistent with existing naming within erp5.util and
zope.testbrowser parent module as well.
parent 0845f215
...@@ -34,7 +34,7 @@ import logging ...@@ -34,7 +34,7 @@ import logging
import signal import signal
import sys import sys
from ..test_browser.browser import Browser from ..testbrowser.browser import Browser
MAXIMUM_ERROR_COUNTER = 10 MAXIMUM_ERROR_COUNTER = 10
RESULT_NUMBER_BEFORE_FLUSHING = 100 RESULT_NUMBER_BEFORE_FLUSHING = 100
......
...@@ -174,7 +174,7 @@ class Browser(ExtendedTestBrowser): ...@@ -174,7 +174,7 @@ class Browser(ExtendedTestBrowser):
stream = log_file and log_file or sys.stderr stream = log_file and log_file or sys.stderr
logging.basicConfig(stream=stream, level=logging_level) logging.basicConfig(stream=stream, level=logging_level)
self._logger = logging.getLogger('erp5.util.test_browser') self._logger = logging.getLogger('erp5.util.testbrowser')
self._is_legacy_listbox = is_legacy_listbox self._is_legacy_listbox = is_legacy_listbox
self._is_logged_in = False self._is_logged_in = False
...@@ -964,7 +964,7 @@ class ContextMainForm(MainForm): ...@@ -964,7 +964,7 @@ class ContextMainForm(MainForm):
from 1), excluding hidden control and those whose class is hidden from 1), excluding hidden control and those whose class is hidden
too. The position of a cell from a column or line number can be too. The position of a cell from a column or line number can be
obtained through calling obtained through calling
L{erp5.util.test_browser.browser.Browser.getListboxPosition}. L{erp5.util.testbrowser.browser.Browser.getListboxPosition}.
Also, there may be several elements within a cell, thus Also, there may be several elements within a cell, thus
C{cell_element_index} allows to select which one to get (starting C{cell_element_index} allows to select which one to get (starting
......
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from erp5.util.test_browser.browser import Browser from erp5.util.testbrowser.browser import Browser
ITERATION = 20 ITERATION = 20
......
...@@ -39,8 +39,8 @@ setup(name=name, ...@@ -39,8 +39,8 @@ setup(name=name,
], ],
extras_require={ extras_require={
'testnode': ['slapos.core', 'xml_marshaller'], 'testnode': ['slapos.core', 'xml_marshaller'],
'test_browser': ['zope.testbrowser >= 3.11.1', 'z3c.etestbrowser'], 'testbrowser': ['zope.testbrowser >= 3.11.1', 'z3c.etestbrowser'],
'benchmark': [name+'[test_browser]'], 'benchmark': [name+'[testbrowser]'],
'benchmark-report': [name+'[benchmark]', 'matplotlib', 'numpy'], 'benchmark-report': [name+'[benchmark]', 'matplotlib', 'numpy'],
'scalability_tester': [name+'[benchmark]', 'slapos.tool.nosqltester'], 'scalability_tester': [name+'[benchmark]', 'slapos.tool.nosqltester'],
}, },
......
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