Skip to content

Commit

Permalink
tests: add case with piped input in tt connect
Browse files Browse the repository at this point in the history
  • Loading branch information
askalt authored and psergee committed Aug 7, 2023
1 parent a7d735b commit 4732c5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/integration/connect/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ def test_connect_to_localhost_app(tt_cmd, tmpdir_with_cfg):
assert ret
assert output == "---\n- Hello\n- World\n...\n\n"

# Execute stdout without args.
ret, output = try_execute_on_instance(tt_cmd, tmpdir, uri,
stdin="2+2")
assert ret
assert output == "---\n- 4\n...\n\n"

# Stop the Instance.
stop_app(tt_cmd, tmpdir, "test_app")

Expand Down

0 comments on commit 4732c5e

Please sign in to comment.