mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
man_spm_test
This commit is contained in:
parent
85160fd297
commit
c9fa4ed2a7
1 changed files with 22 additions and 0 deletions
22
tests/integration/spm/test_man_spm.py
Normal file
22
tests/integration/spm/test_man_spm.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Tests man spm
|
||||
'''
|
||||
# Import python libs
|
||||
from __future__ import absolute_import
|
||||
|
||||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
|
||||
|
||||
class SPMManTest(ModuleCase):
|
||||
'''
|
||||
Validate man spm
|
||||
'''
|
||||
def test_man_spm(self):
|
||||
'''
|
||||
test man spm
|
||||
'''
|
||||
cmd = self.run_function('cmd.run', ['man spm'])
|
||||
self.assertIn('Salt Package Manager', cmd)
|
||||
self.assertIn('spm is the frontend command for managing Salt packages.', cmd)
|
Loading…
Add table
Reference in a new issue