StackStorm/st2

Unit Tests for Actions in `packs` pack

Open

#3 057 ouverte le 28 nov. 2016

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (740 forks)batch import
enhancementgood first issuetests

Métriques du dépôt

Stars
 (5 794 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur