mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Restore previously removed test.
This commit is contained in:
parent
ff5ba3742e
commit
bc5eda8259
@ -45,6 +45,15 @@ def test_exception_wait_run_in_executor(loop):
|
||||
result = loop.run_until_complete(asyncio.ensure_future(exec))
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not supported on Windows")
|
||||
def test_subprocess_check_output(loop, tmpdir, restore_original_path):
|
||||
|
||||
path = str(tmpdir / "test")
|
||||
exec = subprocess_check_output("echo", "-n", path)
|
||||
result = loop.run_until_complete(asyncio.ensure_future(exec))
|
||||
assert result == path
|
||||
|
||||
|
||||
def test_wait_for_process_termination(loop):
|
||||
|
||||
if sys.version_info >= (3, 5):
|
||||
|
Loading…
Reference in New Issue
Block a user