Skip to content

Commit

Permalink
fix conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
laixintao committed Oct 31, 2023
1 parent 4e7e6bc commit 0fe0de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def cli():

child = pexpect.spawn(f"iredis -n 15 --iredisrc {f.name}", timeout=TIMEOUT, env=env)
child.logfile_read = open("cli_test.log", "ab")
child.expect(["https://iredis.io/issues", "127.0.0.1"])
child.expect(["https://github.com/laixintao/iredis/issues", "127.0.0.1"])
yield child
child.close()

Expand All @@ -129,7 +129,7 @@ def raw_cli():
f"iredis --raw -n 15 --iredisrc {TEST_IREDISRC}", timeout=TIMEOUT
)
child.logfile_read = open("cli_test.log", "ab")
child.expect(["https://iredis.io/issues", "127.0.0.1"])
child.expect(["https://github.com/laixintao/iredis/issues", "127.0.0.1"])
yield child
child.close()

Expand Down

0 comments on commit 0fe0de4

Please sign in to comment.