summaryrefslogtreecommitdiff
path: root/tools/integration_tests.py
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-02-12 02:57:26 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-02-11 12:57:26 -0500
commitd26655371b796cf5dad762d1b7154c25251cb41d (patch)
tree756f7710b86d2678fbdc2434ae1630741c19edc6 /tools/integration_tests.py
parent90c7af27d7959e94a25f635e21b8d77cb347e135 (diff)
fix: improve formatting (#1732)
Diffstat (limited to 'tools/integration_tests.py')
-rwxr-xr-xtools/integration_tests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/integration_tests.py b/tools/integration_tests.py
index dfb83e19a..5c3b24f75 100755
--- a/tools/integration_tests.py
+++ b/tools/integration_tests.py
@@ -45,7 +45,7 @@ def str2bool(v):
raise ValueError("Bad boolean value")
-def integration_tests(deno_exe, test_filter = None):
+def integration_tests(deno_exe, test_filter=None):
assert os.path.isfile(deno_exe)
tests = sorted([
filename for filename in os.listdir(tests_path)
@@ -97,11 +97,12 @@ def integration_tests(deno_exe, test_filter = None):
print green_ok()
+
def main():
parser = argparse.ArgumentParser()
parser.add_argument("--filter", help="Run specific tests")
- parser.add_argument("--release", help="Use release build of Deno",
- action="store_true")
+ parser.add_argument(
+ "--release", help="Use release build of Deno", action="store_true")
parser.add_argument("--executable", help="Use external executable of Deno")
args = parser.parse_args()