Esempio n. 1
0
def test_port_only():
    nt.eq_(args(1234), ('localhost', 1234, None))
Esempio n. 2
0
def test_no_port():
    args('jesusabdullah.net', fxn)
Esempio n. 3
0
def test_port_and_fxn():
    nt.eq_(args(1234, fxn), ('localhost', 1234, fxn))
Esempio n. 4
0
def test_port_fxn_and_host():
    nt.eq_(args('jesusabdullah.net', 1234, fxn), ('jesusabdullah.net', 1234, fxn))
Esempio n. 5
0
def test_port_and_host():
    nt.eq_(args('jesusabdullah.net', 1234), ('jesusabdullah.net', 1234, None))