def test_mod_watch(self): ''' Test the mounted watcher, called to invoke the watch command. ''' name = '/mnt/sdb' ret = {'name': name, 'result': True, 'comment': '', 'changes': {}} comt = ('Watch not supported in unmount at this time') ret.update({'comment': comt}) self.assertDictEqual(mount.mod_watch(name, sfun='unmount'), ret)
def test_mod_watch(self): """ Test the mounted watcher, called to invoke the watch command. """ name = "/mnt/sdb" ret = { "name": name, "result": True, "comment": "Watch not supported in unmount at this time", "changes": {}, } self.assertDictEqual(mount.mod_watch(name, sfun="unmount"), ret)