Exemple #1
0
def test_new_domains_less():
    assert get_new_domains(["a"], ["a", "b"]) == [], 'leave ald apps in the certificate'
Exemple #2
0
def test_new_domains_same():
    assert get_new_domains(["a", "b"], ["a", "b"]) == [], 'do not regenerate with the same list of apps'
Exemple #3
0
def test_new_domains_more():
    assert get_new_domains(["a", "b"], ["a"]) == ["b"], 'regenerate certificate for new apps'