StackStorm/st2

Unit Tests for Actions in `packs` pack

开放

#3,057 创建于 2016年11月28日

 (0 条评论) (0 个反应) (0 位负责人)Python (740 个派生)batch import
enhancementgood first issuetests

仓库指标

星标
 (5,794 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Following the ChatOps Aliases Tests, write Pack Unit Tests for packs Actions (https://github.com/StackStorm/st2/pull/2982):

See: https://github.com/StackStorm/st2/tree/master/contrib/packs/actions

  • packs.delete
  • packs.download
  • packs.get
  • packs.get_config
  • packs.load
  • packs.search
  • packs.setup_virtualenv
  • packs.show
  • packs.unload
  • packs.update_virtualenv
  • packs.virtualenv_prerun

Not going to do tests for these: * [ ] packs.restart_component (it's just a local-shell-cmd) * [ ] packs.uninstall - it's a chain calling delete/unload * [ ] packs.install it's a chain calling download/virtualenv_prerun/setup_virtualenv/load

贡献者指南