def test_parse_with_call_raises_error(self):
        ui = Mock()
        args = "call"
        re = "Call breakpoints require a function name "+\
                "to be specified"
        self.assertRaisesRegexp(vdebug.breakpoint.BreakpointError,\
                re, vdebug.breakpoint.Breakpoint.parse, ui, args)
Test that an exception is raised with invalid call args.
dataset/ETHPy150Open joonty/vdebug/tests/test_breakpoint_breakpoint.py/BreakpointTest.test_parse_with_call_raises_error