Beispiel #1
0
def test_spacer_clone():
    spacer = Spacer(width=400, height=300)
    clone = spacer.clone()
    assert ({k: v
             for k, v in spacer.param.get_param_values() if k != 'name'} == {
                 k: v
                 for k, v in clone.param.get_param_values() if k != 'name'
             })
Beispiel #2
0
def test_spacer_clone():
    spacer = Spacer(width=400, height=300)

    assert spacer.param.get_param_values() == spacer.clone().param.get_param_values()