def getVTLevel(self): esccmd.DA2() params = escio.ReadCSI('c', expected_prefix='>') myLevel = params[0] if myLevel < 18: return 2 elif myLevel <= 24: return 3 else: return 4
def test_DA2_0(self): esccmd.DA2(0) self.handleDA2Response()
def test_DA2_NoParameter(self): esccmd.DA2() self.handleDA2Response()