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