Beispiel #1
0
def test_CombinationMultiSelect(env):
    from clld.web.util.multiselect import CombinationMultiSelect

    ms = CombinationMultiSelect(env['request'],
                                combination=common.Combination(
                                    common.Parameter.first()))
    ms.render()
Beispiel #2
0
    def test_CombinationMap(self):
        from clld.web.maps import CombinationMap

        ctx = common.Combination(common.Parameter.first())
        assert ctx.domain
        ctx.multiple = [common.Language.first()]
        dt = CombinationMap(ctx, self.env['request'])
        dt.render()
Beispiel #3
0
def test_CombinationMap(env):
    ctx = common.Combination(common.Parameter.first())
    assert ctx.domain
    ctx.multiple = [common.Language.first()]
    dt = CombinationMap(ctx, env['request'])
    dt.render()