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.
ansible/test/units/modules
Olivier Bourdon 98633e5157 Fix interfaces_file for proper file contents (#37818)
The generated file was completely unusable by the system
therefore the fix which ensures that diffing the file
prior to changes and after only shows diffs

Furthermore the code did not work for Python 3.6
>       f.writelines(to_bytes(lines, errors='surrogate_or_strict'))
E       TypeError: a bytes-like object is required, not 'int'

The other modifications (lambda variable renaming) is to
comply with default flake8 rules
(cherry picked from commit 612d0d6634)
8 years ago
..
cloud Add a module_utils OpenStack Cloud constructor (#20974) 8 years ago
monitoring Unit tests: share common code (#31456) 8 years ago
net_tools nmcli: Allow setting ipv4.dhcp-client-id parameter (#34268) 8 years ago
network Don't fail on configure in command (#37094) 8 years ago
packaging rhn_channel/register: Porting tests to pytest (#33719) 8 years ago
remote_management Python 2.6 `str.format()` compatibility fixes. 8 years ago
system Fix interfaces_file for proper file contents (#37818) 8 years ago
web_infrastructure Fix jenkins_plugin test for no net situations (#30568) 8 years ago
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py Porting tests to pytest (#33387) 8 years ago
utils.py Unit tests: share common code (#31456) 8 years ago