Пример #1
0
def test_port_only():
    nt.eq_(args(1234), ('localhost', 1234, None))
Пример #2
0
def test_no_port():
    args('jesusabdullah.net', fxn)
Пример #3
0
def test_port_and_fxn():
    nt.eq_(args(1234, fxn), ('localhost', 1234, fxn))
Пример #4
0
def test_port_fxn_and_host():
    nt.eq_(args('jesusabdullah.net', 1234, fxn), ('jesusabdullah.net', 1234, fxn))
Пример #5
0
def test_port_and_host():
    nt.eq_(args('jesusabdullah.net', 1234), ('jesusabdullah.net', 1234, None))