tests.py: fix syntax warning
Fixes this warning from the NixOS VM test script linter: SyntaxWarning: invalid escape sequence '\['
This commit is contained in:
parent
09ba739719
commit
2d53b57636
1 changed files with 2 additions and 2 deletions
|
|
@ -452,10 +452,10 @@ def _():
|
|||
def expect_clightning_log(str):
|
||||
machine.wait_until_succeeds(log_has_string("clightning", str))
|
||||
|
||||
expect_clightning_log("plugin-trustedcoin[^^]\[0m\s+bitcoind RPC working")
|
||||
expect_clightning_log(r"plugin-trustedcoin\b.*?\bbitcoind RPC working")
|
||||
if "regtest" in enabled_tests:
|
||||
num_blocks = test_data["num_blocks"]
|
||||
expect_clightning_log(f"plugin-trustedcoin[^^]\[0m\s+returning block {num_blocks}")
|
||||
expect_clightning_log(rf"plugin-trustedcoin\b.*?\breturning block {num_blocks}")
|
||||
|
||||
|
||||
if "netns-isolation" in enabled_tests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue