Skip to content

Commit

Permalink
conftest(assert_complete): support an optional argument "cmd_rendered"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed May 22, 2021
1 parent dbe2ff0 commit 52814dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/t/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def assert_complete(
bash.send(cmd + "\t")
# Sleep a bit if requested, to avoid `.*` matching too early
time.sleep(kwargs.get("sleep_after_tab", 0))
bash.expect_exact(cmd)
bash.expect_exact(kwargs.get("rendered_cmd", cmd))
bash.send(MAGIC_MARK)
got = bash.expect(
[
Expand Down

0 comments on commit 52814dd

Please sign in to comment.