Exemple #1
0
def test_find_addr_failure(addr, fake_vhost):
    assert _find_addr(mock.Mock(), fake_vhost, addr) is None
Exemple #2
0
def test_find_addr_failure(addr, fake_vhost):
    assert _find_addr(mock.Mock(), fake_vhost, addr) is None
Exemple #3
0
def test_find_addr_success(addr, fake_vhost):
    assert _find_addr(mock.Mock(), fake_vhost, addr).address == addr
Exemple #4
0
def test_find_addr_success(addr, fake_vhost):
    assert _find_addr(mock.Mock(), fake_vhost, addr).address == addr