Пример #1
0
 def test_cask_get_installed_casks(self):
     result = cask.get_installed_casks(self.wf, '')
     self.assertTrue(len(result) >= 0)
Пример #2
0
import cask

from workflow import Workflow

if __name__ == '__main__':
    wf = Workflow()
    wf.cache_data('cask_all_casks', cask.get_all_casks())
    wf.cache_data('cask_installed_casks', cask.get_installed_casks())
    wf.cache_data('cask_outdated_casks', cask.get_outdated_casks())
import cask

from workflow import Workflow


if __name__ == "__main__":
    wf = Workflow()
    wf.cache_data("cask_all_casks", cask.get_all_casks())
    wf.cache_data("cask_installed_casks", cask.get_installed_casks())
Пример #4
0
 def test_cask_get_installed_casks(self):
     result = cask.get_installed_casks()
     self.assertTrue(len(result) >= 0)
Пример #5
0
import cask

from workflow import Workflow


if __name__ == '__main__':
    wf = Workflow()
    wf.cache_data('cask_all_casks', cask.get_all_casks())
    wf.cache_data('cask_installed_casks', cask.get_installed_casks())
    wf.cache_data('cask_outdated_casks', cask.get_outdated_casks())