示例#1
0
文件: test.py 项目: tkardi/legender
def test_split_layername_no_workspace():
    gs = GeoServer(GS_URL)
    inputs = 'abracadabra'
    expect = (None, 'abracadabra')
    print 'Test split layername with no workspace'
    tools.assert_equals(gs.split_layername(inputs), expect)
示例#2
0
文件: test.py 项目: tkardi/legender
def test_split_layername():
    gs = GeoServer(GS_URL)
    inputs = 'black:magic'
    expect = ('black', 'magic')
    print 'Test split layername'
    tools.assert_equals(gs.split_layername(inputs), expect)