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 612d0d6634 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
7 years ago
..
interfaces_file Fix interfaces_file for proper file contents (#37818) 7 years ago
__init__.py New module: manage debian network interfaces file /etc/network/interfaces (system/interfaces_file) (#25295) 7 years ago
test_iptables.py Unit tests: share common code (#31456) 7 years ago
test_known_hosts.py test/: PEP8 compliancy (#24803) 7 years ago
test_linux_mountinfo.py Fix leading slashes being stripped from mount src (#24013) 7 years ago
test_pamd.py Fixes #35629 (#35668) 7 years ago
test_parted.py Unit tests: share common code (#31456) 7 years ago
test_systemd.py Fix PEP 8 issue. 8 years ago