[selenium] r7448 committed - Made the test output a bit quieter.

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 20, 2009, 6:52:52 PM10/20/09
to selenium-deve...@googlegroups.com
Revision: 7448
Author: jrhuggins
Date: Tue Oct 20 15:52:12 2009
Log: Made the test output a bit quieter.

http://code.google.com/p/selenium/source/detail?r=7448

Modified:
/webdriver/trunk/common/src/py/webserver.py
/webdriver/trunk/common/test/py/utils.py
/webdriver/trunk/firefox/prebuilt/linux/Release/x_ignore_nofocus.so
/webdriver/trunk/firefox/test/py/cookie_tests.py

=======================================
--- /webdriver/trunk/common/src/py/webserver.py Tue Oct 20 10:56:43 2009
+++ /webdriver/trunk/common/src/py/webserver.py Tue Oct 20 15:52:12 2009
@@ -35,6 +35,8 @@
"Unable to locate the test html files from %s" % HTML_ROOT)

DEFAULT_PORT = 8000
+sys.stderr = open("http_stderr_log.txt",'a')
+sys.stdout = open("http_stdout_log.txt",'a')

class HtmlOnlyHandler(BaseHTTPRequestHandler):
"""Http handler."""
=======================================
--- /webdriver/trunk/common/test/py/utils.py Tue Oct 20 05:46:31 2009
+++ /webdriver/trunk/common/test/py/utils.py Tue Oct 20 15:52:12 2009
@@ -21,7 +21,7 @@


def run_tests(test_case, driver, webserver):
- logging.basicConfig(level=logging.DEBUG)
+ logging.basicConfig(level=logging.WARN)

webserver.start()
try:
=======================================
--- /webdriver/trunk/firefox/prebuilt/linux/Release/x_ignore_nofocus.so Thu
Oct 8 07:13:21 2009
+++ /webdriver/trunk/firefox/prebuilt/linux/Release/x_ignore_nofocus.so Tue
Oct 20 15:52:12 2009
Binary file, no diff available.
=======================================
--- /webdriver/trunk/firefox/test/py/cookie_tests.py Tue Oct 20 05:46:31
2009
+++ /webdriver/trunk/firefox/test/py/cookie_tests.py Tue Oct 20 15:52:12
2009
@@ -19,6 +19,6 @@
from webdriver.firefox.webdriver import WebDriver

if __name__ == "__main__":
- logging.getLogger().setLevel(logging.DEBUG)
+ logging.getLogger().setLevel(logging.WARN)
cookie_tests.run_tests(WebDriver())

Reply all
Reply to author
Forward
0 new messages