Merge pull request #44930 from frogunder/man_spm

man_spm_test
This commit is contained in:
Nicole Thomas 2018-01-04 15:58:01 -05:00 committed by GitHub
commit d0a3770035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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('command for managing Salt packages', cmd)