Changeset - 9ca9c3ada58a
[Not reviewed]
0 2 0
Branko Majic (branko) - 9 months ago 2023-08-12 00:46:35
branko@majic.rs
MAR-181: Use Debian-provided Prosody package for testing optional parameter:

- Still properly tests the role, while at the same time making it
possible to use custom apt repository for Debian Buster (due to
Prosody project dropping all repository archives for it).
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
roles/xmpp_server/molecule/default/group_vars/parameters-optional.yml
Show inline comments
 
@@ -9,7 +9,7 @@ xmpp_domains:
 
xmpp_ldap_base_dn: dc=local
 
xmpp_ldap_password: prosodypassword
 
xmpp_ldap_server: ldap-server
 
xmpp_prosody_package: prosody-0.10
 
xmpp_prosody_package: prosody
 
xmpp_server_archive_expiration: "1w"
 
xmpp_tls_certificate: "{{ lookup('file', 'tests/data/x509/server/{{ inventory_hostname }}_xmpp.cert.pem') }}"
 
xmpp_tls_key: "{{ lookup('file', 'tests/data/x509/server/{{ inventory_hostname }}_xmpp.key.pem') }}"
roles/xmpp_server/molecule/default/tests/test_optional.py
Show inline comments
 
@@ -50,7 +50,7 @@ def test_correct_prosody_package_installed(host):
 
    Tests if correct Prosody package has been installed.
 
    """
 

	
 
    assert host.package('prosody-0.10').is_installed
 
    assert host.package('prosody').is_installed
 

	
 

	
 
@pytest.mark.parametrize("port", [
0 comments (0 inline, 0 general)