mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fc3064471b
Currently, if we try to stop or start a network two time in a row, the second call will fail. With this patch: - we don't recreate a network, if it exists - we only stop a network if it's active, and so we avoid an exception saying the network is not active * test: mock libvirt * add integration tests for virt_net * test: enable virt_net test on RedHat 7 and 8 * ci: use the unsupported alias * tests that require privileged mode are run in VM * virt_net/create raise unexpected libvirt exception * import mock from units.compat * virt_net: do not call create() on "active" network * virt_net func test: only clean up the libvirt packages * test: virt_net: don't use assert_called() * virt_net: add the destructive alias * move the test in virt_net dir * test/virt_net: clean up the network at the end |
6 years ago | |
---|---|---|
.. | ||
cli | 6 years ago | |
compat | 6 years ago | |
config | 6 years ago | |
contrib | 6 years ago | |
errors | 6 years ago | |
executor | 6 years ago | |
inventory_test_data/group_vars | 9 years ago | |
mock | 6 years ago | |
module_utils | 6 years ago | |
modules | 6 years ago | |
parsing | 6 years ago | |
playbook | 6 years ago | |
plugins | 6 years ago | |
regex | 6 years ago | |
template | 6 years ago | |
utils | 6 years ago | |
vars | 6 years ago | |
__init__.py | 8 years ago | |
ansible.cfg | 7 years ago | |
conftest.py | 6 years ago | |
test_constants.py | 7 years ago | |
test_context.py | 6 years ago |