コード例 #1
0
ファイル: conn_parse.py プロジェクト: substack/dnode-python
def test_port_only():
    nt.eq_(args(1234), ('localhost', 1234, None))
コード例 #2
0
ファイル: conn_parse.py プロジェクト: substack/dnode-python
def test_no_port():
    args('jesusabdullah.net', fxn)
コード例 #3
0
ファイル: conn_parse.py プロジェクト: substack/dnode-python
def test_port_and_fxn():
    nt.eq_(args(1234, fxn), ('localhost', 1234, fxn))
コード例 #4
0
ファイル: conn_parse.py プロジェクト: substack/dnode-python
def test_port_fxn_and_host():
    nt.eq_(args('jesusabdullah.net', 1234, fxn), ('jesusabdullah.net', 1234, fxn))
コード例 #5
0
ファイル: conn_parse.py プロジェクト: substack/dnode-python
def test_port_and_host():
    nt.eq_(args('jesusabdullah.net', 1234), ('jesusabdullah.net', 1234, None))