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
import signal
import sys
from ..test_browser.browser import Browser
from ..testbrowser.browser import Browser
MAXIMUM_ERROR_COUNTER = 10
RESULT_NUMBER_BEFORE_FLUSHING = 100
......
......@@ -174,7 +174,7 @@ class Browser(ExtendedTestBrowser):
stream = log_file and log_file or sys.stderr
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_logged_in = False
......@@ -964,7 +964,7 @@ class ContextMainForm(MainForm):
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
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
C{cell_element_index} allows to select which one to get (starting
......
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from erp5.util.test_browser.browser import Browser
from erp5.util.testbrowser.browser import Browser
ITERATION = 20
......
......@@ -39,8 +39,8 @@ setup(name=name,
],
extras_require={
'testnode': ['slapos.core', 'xml_marshaller'],
'test_browser': ['zope.testbrowser >= 3.11.1', 'z3c.etestbrowser'],
'benchmark': [name+'[test_browser]'],
'testbrowser': ['zope.testbrowser >= 3.11.1', 'z3c.etestbrowser'],
'benchmark': [name+'[testbrowser]'],
'benchmark-report': [name+'[benchmark]', 'matplotlib', 'numpy'],
'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