Changeset - d20f150f3cca
[Not reviewed]
0 3 0
Branko Majic (branko) - 4 years ago 2020-05-07 22:39:04
branko@majic.rs
MAR-149: Fixed typo error in the tests for preseed role (extra _string at end).
3 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
roles/preseed/molecule/default/tests/test_parameters_mandatory.py
Show inline comments
 
@@ -53,7 +53,7 @@ def test_preseed_configuration_file_content(host):
 

	
 
    with host.sudo():
 
        preseed_file = host.file(os.path.join("/tmp/molecule/preseed/default/inventory", "preseed_files", "%s.cfg" % hostname))
 
        preseed_file_content = preseed_file.content_string_string
 
        preseed_file_content = preseed_file.content_string
 
        ssh_public_key = open(os.path.join(os.path.expanduser("~"), ".ssh", "id_rsa.pub")).read().strip()
 

	
 
    assert "d-i debian-installer/language string en" in preseed_file_content
roles/preseed/molecule/default/tests/test_parameters_optional.py
Show inline comments
 
@@ -48,7 +48,7 @@ def test_preseed_configuration_file_content(host):
 

	
 
    with host.sudo():
 
        preseed_file = host.file(os.path.join(PRESEED_DIRECTORY, "%s.cfg" % hostname))
 
        preseed_file_content = preseed_file.content_string_string
 
        preseed_file_content = preseed_file.content_string
 
        ssh_public_key = "CUSTOMKEY"
 

	
 
    assert "d-i debian-installer/language string sr" in preseed_file_content
roles/preseed/molecule/default/tests/test_parameters_optional_with_overrides.py
Show inline comments
 
@@ -32,7 +32,7 @@ def test_preseed_configuration_file_content_host_without_overrides(host):
 

	
 
    with host.sudo():
 
        preseed_file = host.file(os.path.join(PRESEED_DIRECTORY, "%s.cfg" % hostname))
 
        preseed_file_content = preseed_file.content_string_string
 
        preseed_file_content = preseed_file.content_string
 
        ssh_public_key = "CUSTOMKEY"
 

	
 
    assert "d-i debian-installer/language string en" in preseed_file_content
 
@@ -64,7 +64,7 @@ def test_preseed_configuration_file_content_host_with_overrides(host):
 

	
 
    with host.sudo():
 
        preseed_file = host.file(os.path.join(PRESEED_DIRECTORY, "%s.cfg" % hostname))
 
        preseed_file_content = preseed_file.content_string_string
 
        preseed_file_content = preseed_file.content_string
 
        ssh_public_key = "CUSTOMKEY"
 

	
 
    assert "d-i debian-installer/language string sr" in preseed_file_content
0 comments (0 inline, 0 general)