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/system
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)
7 years ago
..
interfaces_file Fix interfaces_file for proper file contents (#37818) 7 years ago
__init__.py
test_iptables.py
test_known_hosts.py
test_linux_mountinfo.py
test_pamd.py Fixes #35629 (#35668) 7 years ago
test_parted.py
test_systemd.py