We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18abefc commit 1448dd5Copy full SHA for 1448dd5
src/example_custom_netmiko_cli_test/netmiko_cli.py
@@ -61,4 +61,4 @@ def test_not_contains_in_result(
61
"command_string", None
62
)
63
result = single_result.result
64
- assert not_contains in result, f"'{not_contains}' FOUND in '{cmd}' output"
+ assert not_contains not in result, f"'{not_contains}' FOUND in '{cmd}' output"
test_project/tests/test_ip_addr.yaml
@@ -6,4 +6,6 @@
6
test_data:
7
- host: box01
8
contains: "127.0.0.1/8"
9
- not_contains: "DOWN"
+ not_contains: "DOWN"
10
+ - host: box01
11
+ contains: "mtu 1500"
0 commit comments