コード例 #1
0
ファイル: test_config.py プロジェクト: goodboychan/bonsai-sdk
def test_assignment_of_poorly_formatted_proxy():
    try:
        config = Config()
        config.proxy = "http://foo:bar"
    except (RuntimeError, ValueError) as e:
        return

    assert False, "XFAIL"
コード例 #2
0
def test_assignment_of_poorly_formatted_proxy():
    config = Config()
    config.proxy = "http://foo:bar"