Changeset - 0cb4941b2dd8
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-01-06 14:37:16
branko@majic.rs
MAR-148: Fix handling of newlines in asserts for backup role tests.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
roles/backup/molecule/default/tests/test_parameters_optional.py
Show inline comments
 
@@ -16,7 +16,7 @@ def test_backup_patterns_content(host):
 

	
 
        backup_pattern = host.file('/etc/duply/main/patterns/test')
 

	
 
        assert backup_pattern.content == "/etc/hosts\n/etc/ethers\n/var/log"
 
        assert backup_pattern.content == "/etc/hosts\n/etc/ethers\n/var/log\n"
 

	
 

	
 
def test_include_content(host):
 
@@ -29,4 +29,4 @@ def test_include_content(host):
 

	
 
        include = host.file('/etc/duply/main/include')
 

	
 
        assert include.content == "/etc/hosts\n/etc/ethers\n/var/log"
 
        assert include.content == "/etc/hosts\n/etc/ethers\n/var/log\n"
0 comments (0 inline, 0 general)