From 29347b7e806879de9479901e5aa7277c79809a1d Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Wed, 12 Jul 2017 11:34:36 +0200 Subject: [PATCH] Fix assert on eos_vrf integration test (#26686) We need to check the session_name key is not in the dict, rather than checking it has no value, otherwise the test fails. --- test/integration/targets/eos_vrf/tests/cli/basic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/eos_vrf/tests/cli/basic.yaml b/test/integration/targets/eos_vrf/tests/cli/basic.yaml index cedd930759e..813a3a926e3 100644 --- a/test/integration/targets/eos_vrf/tests/cli/basic.yaml +++ b/test/integration/targets/eos_vrf/tests/cli/basic.yaml @@ -108,7 +108,7 @@ - "result.changed == false" - "result.commands | length == 0" # Ensure sessions contains epoc. Will fail after 18th May 2033 - - "result.session_name is not defined" + - "'session_name' not in result.commands" # FIXME add in tests for everything defined in docs