def test_colon_separted_type_1():
    with pytest.raises(argparse.ArgumentTypeError):
        jenkins.colon_separted_type("name:")
def test_colon_separted_type_5():
    assert len(jenkins.colon_separted_type("namex:value")) == 2
    assert len(jenkins.colon_separted_type("item_name:item_value")) == 2
def test_colon_separted_type_6():
    assert len(jenkins.colon_separted_type("url:http://google.com")) == 2
    assert ('url', 'http://google.com') == \
        jenkins.colon_separted_type("url:http://google.com")
def test_colon_separted_type_2():
    with pytest.raises(argparse.ArgumentTypeError):
        jenkins.colon_separted_type(":value")