Ejemplo n.º 1
0
def test_global_id():
    """Test that formatting a global id does raise.

    """
    shape = SquareShape()
    with pytest.raises(RuntimeError):
        shape.format_global_vars_id('r')
Ejemplo n.º 2
0
def test_global_id():
    """Test that formatting a global id does raise.

    """
    shape = SquareShape()
    with pytest.raises(RuntimeError):
        shape.format_global_vars_id("r")