def test_get_cmd(self):
        ui = None
        file = vdebug.util.FilePath("/path/to/file")
        line = 20
        condition = "$x > 20"
        bp = vdebug.breakpoint.ConditionalBreakpoint(ui,file,line,condition)
        b64cond = base64.encodestring(condition)
        exp_cmd = "-t conditional -f file://%s -n %i -s enabled -- %s" %(file, line, b64cond)
        self.assertEqual(bp.get_cmd(), exp_cmd)
Test that the dbgp command is correct.
dataset/ETHPy150Open joonty/vdebug/tests/test_breakpoint_breakpoint.py/ConditionalBreakpointTest.test_get_cmd