blob: 907d648bd15d197e147b9572e29e58c754e4dfd7 [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Run unittests in a new browser."""
import os
import sys
import nassh # pylint: disable=wrong-import-order
import libdot
# Path to our html test page.
TEST_PAGE = os.path.join("nassh", "html", "nassh_test.html")
def main(argv):
"""The main func!"""
return libdot.load_tests.test_runner_main(
argv, TEST_PAGE, serve=True, mkdeps=lambda opts: nassh.mkdeps.mkdeps()
if __name__ == "__main__":