mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove Python 2.6 incompatible section of test
A portion of this test seems to be only testing the differences between the way Python is using the help string between 2.6 and 2.7. This section doesn't really seem to be testing any salt code.
This commit is contained in:
parent
3ce1cef592
commit
1be53aaf7d
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
:codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
|
||||
:codeauthor: :email:`Jayesh Kariya <jayeshk@saltstack.com>`
|
||||
'''
|
||||
|
||||
# Import Python Libs
|
||||
@ -99,12 +99,6 @@ class SysmodTestCase(TestCase):
|
||||
'''
|
||||
self.assertDictEqual(sysmod.doc(), {})
|
||||
|
||||
ret = ("str(object='') -> string\n\nReturn a nice string"
|
||||
" representation of the object.\nIf the argument is a string,"
|
||||
" the return value is the same object.")
|
||||
with patch.dict(sysmod.__salt__, {'sys.doc': ''}):
|
||||
self.assertDictEqual(sysmod.doc('sys.doc'), {'sys.doc': ret})
|
||||
|
||||
# 'state_doc' function tests: 1
|
||||
|
||||
def test_state_doc(self):
|
||||
|
Loading…
Reference in New Issue
Block a user