def test_parse_with_empty_line_raises_error(self):
        Mock.__len__ = Mock(return_value=0)
        ui = Mock()
        re = 'Cannot set a breakpoint on an empty line'
        self.assertRaisesRegexp(vdebug.breakpoint.BreakpointError,\
                re,vdebug.breakpoint.Breakpoint.parse,ui,"")
Test that a LineBreakpoint is created.
dataset/ETHPy150Open joonty/vdebug/tests/test_breakpoint_breakpoint.py/BreakpointTest.test_parse_with_empty_line_raises_error