mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-20 21:33:09 +00:00
Change test that randomly fails on Travis.
This commit is contained in:
parent
3512fde841
commit
53f3821d41
@ -49,11 +49,9 @@ def test_exception_wait_run_in_executor(loop):
|
||||
def test_subprocess_check_output(loop, tmpdir, restore_original_path):
|
||||
|
||||
path = str(tmpdir / "test")
|
||||
with open(path, "w+") as f:
|
||||
f.write("TEST")
|
||||
exec = subprocess_check_output("cat", path)
|
||||
exec = subprocess_check_output("echo", "-n", path)
|
||||
result = loop.run_until_complete(asyncio.ensure_future(exec))
|
||||
assert result == "TEST"
|
||||
assert result == path
|
||||
|
||||
|
||||
def test_wait_for_process_termination(loop):
|
||||
|
Loading…
Reference in New Issue
Block a user