summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py')
-rwxr-xr-xtesting/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py b/testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py
index ea52223cea..569bdb4c07 100755
--- a/testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py
+++ b/testing/web-platform/tests/tools/third_party/pywebsocket3/test/run_all.py
@@ -31,7 +31,7 @@
"""Run all tests in the same directory.
This suite is expected to be run under pywebsocket's src directory, i.e. the
-directory containing mod_pywebsocket, test, etc.
+directory containing pywebsocket3, test, etc.
To change loggin level, please specify --log-level option.
python test/run_test.py --log-level debug
@@ -42,14 +42,16 @@ example, run this for making the test runner verbose.
"""
from __future__ import absolute_import
-import logging
+
import argparse
+import logging
import os
import re
-import six
import sys
import unittest
+import six
+
_TEST_MODULE_PATTERN = re.compile(r'^(test_.+)\.py$')