From 1c3d448a2976c6163405e6b4a33058f70304d691 Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Mon, 27 Feb 2017 07:43:00 -0500 Subject: [PATCH] updates eos_facts integration test cases (#21988) --- test/integration/targets/eos_facts/tests/cli/default_facts.yaml | 2 +- test/integration/targets/eos_facts/tests/cli/not_hardware.yaml | 2 +- .../integration/targets/eos_facts/tests/eapi/default_facts.yaml | 2 +- test/integration/targets/eos_facts/tests/eapi/not_hardware.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/targets/eos_facts/tests/cli/default_facts.yaml b/test/integration/targets/eos_facts/tests/cli/default_facts.yaml index 70909a5665..0330978927 100644 --- a/test/integration/targets/eos_facts/tests/cli/default_facts.yaml +++ b/test/integration/targets/eos_facts/tests/cli/default_facts.yaml @@ -23,7 +23,7 @@ # Items from those subsets are present - "result.ansible_facts.ansible_net_filesystems is defined" #hw - "result.ansible_facts.ansible_net_memtotal_mb > 10" #hw - - "result.ansible_facts.ansible_net_interfaces.Ethernet1.ipv4.masklen > 1" # interfaces + - "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces # ... and not present - "result.ansible_facts.ansible_net_config is not defined" # config diff --git a/test/integration/targets/eos_facts/tests/cli/not_hardware.yaml b/test/integration/targets/eos_facts/tests/cli/not_hardware.yaml index 734f6048e8..56e96595f3 100644 --- a/test/integration/targets/eos_facts/tests/cli/not_hardware.yaml +++ b/test/integration/targets/eos_facts/tests/cli/not_hardware.yaml @@ -23,7 +23,7 @@ - "'hardware' not in result.ansible_facts.ansible_net_gather_subset" # Items from those subsets are present - - "result.ansible_facts.ansible_net_interfaces.Ethernet1.ipv4.masklen > 1" # interfaces + - "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces # ... and not present - "result.ansible_facts.ansible_net_filesystems is not defined" diff --git a/test/integration/targets/eos_facts/tests/eapi/default_facts.yaml b/test/integration/targets/eos_facts/tests/eapi/default_facts.yaml index 04e4986225..fbf987a6bd 100644 --- a/test/integration/targets/eos_facts/tests/eapi/default_facts.yaml +++ b/test/integration/targets/eos_facts/tests/eapi/default_facts.yaml @@ -23,7 +23,7 @@ # Items from those subsets are present - "result.ansible_facts.ansible_net_filesystems is defined" #hw - "result.ansible_facts.ansible_net_memtotal_mb > 10" #hw - - "result.ansible_facts.ansible_net_interfaces.Ethernet1.ipv4.masklen > 1" # interfaces + - "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces # ... and not present - "result.ansible_facts.ansible_net_config is not defined" # config diff --git a/test/integration/targets/eos_facts/tests/eapi/not_hardware.yaml b/test/integration/targets/eos_facts/tests/eapi/not_hardware.yaml index 7be0fcdc60..9267f63846 100644 --- a/test/integration/targets/eos_facts/tests/eapi/not_hardware.yaml +++ b/test/integration/targets/eos_facts/tests/eapi/not_hardware.yaml @@ -23,7 +23,7 @@ - "'hardware' not in result.ansible_facts.ansible_net_gather_subset" # Items from those subsets are present - - "result.ansible_facts.ansible_net_interfaces.Ethernet1.ipv4.masklen > 1" # interfaces + - "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces # ... and not present - "result.ansible_facts.ansible_net_filesystems is not defined"