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