def do_RegTest(self, args): command = docopt(str(self.doc), args) e = ExecHelper() e.reset("RegTest") e.OutputEquals( "/usr/bin/regget " + command['<section>'] + " " + command['<value>'], command['<expectation>'])
def do_GsettingsTest(self, args): command = docopt(str(self.doc), args) e = ExecHelper() e.reset("GsettingsTest") e.OutputEquals("gsettings get " + command['<section>'] + " " + command['<value>'], command['<expectation>']) print e.r.retVal