summaryrefslogtreecommitdiff
path: root/tools/fetch_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fetch_test.py')
-rwxr-xr-xtools/fetch_test.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/fetch_test.py b/tools/fetch_test.py
index 35118ab96..e8c54dfec 100755
--- a/tools/fetch_test.py
+++ b/tools/fetch_test.py
@@ -1,11 +1,11 @@
#!/usr/bin/env python
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import os
-import sys
import shutil
-from http_server import spawn
-from util import DenoTestCase, mkdtemp, tests_path, run_output, test_main
+import http_server
+from test_util import DenoTestCase, run_tests
+from util import mkdtemp, tests_path, run_output
class FetchTest(DenoTestCase):
@@ -26,5 +26,5 @@ class FetchTest(DenoTestCase):
if __name__ == "__main__":
- with spawn():
- test_main()
+ with http_server.spawn():
+ run_tests()