Example #1
0
    def testUpdateLowerVersion(self):
        tree = utils.callRpcCommand('updateModule systemstatus 100',
                                    files.module('xmlecho'), no_xml=True)

        utils.checkModuleAndVersion('systemstatus', 100)

        result = utils.callRpcCommandError('updateModule systemstatus 9',
                                           files.executable(isWindows(), 'xmlecho'))

        utils.checkModuleAndVersion('systemstatus', 100)
Example #2
0
    def testUpdate(self):
        tree = utils.callRpcCommand('updateModule systemstatus 100',
                                    files.module('xmlecho'), no_xml=True)

        utils.checkModuleAndVersion('systemstatus', 100)