diff options
Diffstat (limited to 'cli/tests/tty_tests.rs')
-rw-r--r-- | cli/tests/tty_tests.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/tty_tests.rs b/cli/tests/tty_tests.rs new file mode 100644 index 000000000..413d39caf --- /dev/null +++ b/cli/tests/tty_tests.rs @@ -0,0 +1,18 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +#[macro_use] +extern crate lazy_static; +extern crate tempfile; +mod util; +use util::*; + +// TODO(#2933): Rewrite these tests in rust. +// TODO(ry) These tests can't run in parallel. +#[test] +fn tty_tests() { + let g = http_server(); + run_python_script("tools/complex_permissions_test.py"); + run_python_script("tools/permission_prompt_test.py"); + // TODO(ry) is_tty_test is not passing on travis when run with "cargo test" + // run_python_script("tools/is_tty_test.py"); + drop(g); +} |