fix hg_pillar unittest lint errors

This commit is contained in:
Paul Tonelli 2015-03-24 15:52:13 +01:00
parent abc4e7fd62
commit 15f66d1f0f

View File

@ -28,8 +28,9 @@ FILE_DATA = {
from salt.pillar import hg_pillar
HGLIB = hg_pillar.hglib
@skipIf(NO_MOCK, NO_MOCK_REASON)
@skipIf(HGLIB == None, 'python-hglib no')
@skipIf(HGLIB is None, 'python-hglib no')
class HgPillarTestCase(TestCase, integration.AdaptedConfigurationTestCaseMixIn):
'test hg_pillar pillar'
maxDiff = None