Skip to content

Commit

Permalink
Add test-requirement for ec2_eni tests
Browse files Browse the repository at this point in the history
ansible.netcommon.ipaddr requires the netaddr package
  • Loading branch information
jillr committed Jul 7, 2021
1 parent 65b7bda commit 141da16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ mock
pytest-xdist
# We should avoid these two modules with py3
pytest-mock
# Needed for ansible.netcommon.ipaddr in tests
netaddr
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
eni_id: '{{ eni_id_1 }}'
register: eni_info

- debug:
msg: '{{ eni_info }}'

- name: Assert that ec2_eni_info returns all the values we expect
vars:
_interface_0: '{{ eni_info.network_interfaces[0] }}'
Expand Down

0 comments on commit 141da16

Please sign in to comment.