Skip to content

Commit

Permalink
fix the small typo in integration test (#500)
Browse files Browse the repository at this point in the history
* fix the typo

* fix tests
  • Loading branch information
Ruchip16 authored Jul 30, 2024
1 parent a7ecb28 commit d4a01d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- name: Overridden with empty configuration should give appropriate error message
register: result
ignore_errors: true
cisco.ios.ios_vrf_address_family:
cisco.iosxr.iosxr_vrf_address_family:
config:
state: overridden

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
ansible.builtin.assert:
that:
- result.changed == false
- gathered['after'] == result['gathered']

always:
- ansible.builtin.include_tasks: _remove_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ merged:
advertise_as_vpn: true
maximum:
prefix: 100
- name: VRF5

replaced:
before:
Expand Down Expand Up @@ -67,7 +66,6 @@ replaced:
advertise_as_vpn: true
maximum:
prefix: 100
- name: VRF5

commands:
- vrf VRF6
Expand Down Expand Up @@ -107,7 +105,6 @@ replaced:
advertise_as_vpn: true
maximum:
prefix: 100
- name: VRF5
- name: VRF6
address_families:
- afi: "ipv4"
Expand All @@ -132,8 +129,7 @@ replaced:
advertise_as_vpn: true

overridden:
before:
- name: VRF5
before: {}
commands:
- vrf VRF7
- address-family ipv4 unicast
Expand All @@ -148,7 +144,6 @@ overridden:
- import from vrf advertise-as-vpn
- maximum prefix 500
after:
- name: VRF5
- name: VRF7
address_families:
- afi: "ipv4"
Expand Down Expand Up @@ -177,7 +172,6 @@ overridden:
gathered:
after:
- name: VRF4
- name: VRF5
address_families:
- afi: "ipv4"
safi: "unicast"
Expand Down Expand Up @@ -260,4 +254,3 @@ deleted:
- no address-family ipv4 unicast
after:
- name: VRF4
- name: VRF5

0 comments on commit d4a01d4

Please sign in to comment.