def test_load_layout_full():
    layout_text = '{"test": true},\n["a", "b", "c", "d"],\n["e", "f", "g", "h"]'
    result = load_layout(layout_text)
    assert result == [{'test': True}, ['a', 'b', 'c', 'd'], ['e', 'f', 'g', 'h']]
Exemple #2
0
def test_load_layout_full():
    layout_text = '{"test": true},\n["a", "b", "c", "d"],\n["e", "f", "g", "h"]'
    result = load_layout(layout_text)
    assert result == [{
        'test': True
    }, ['a', 'b', 'c', 'd'], ['e', 'f', 'g', 'h']]
def test_load_layout_basic():
    layout_text = '["a", "b", "c", "d"]'
    result = load_layout(layout_text)
    assert result == [{}, ['a', 'b', 'c', 'd']]
Exemple #4
0
def test_load_layout_basic():
    layout_text = '["a", "b", "c", "d"]'
    result = load_layout(layout_text)
    assert result == [{}, ['a', 'b', 'c', 'd']]