Fix linter errors/warnings

This commit is contained in:
Daniel A. Wozniak 2019-03-04 14:48:33 -07:00
parent 171217ae3c
commit 0e61cf39e4
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -10,7 +10,6 @@ import salt.utils.stringutils
from salt.pillar.pillar_ldap import _config
class LdapPillarTestCase(TestCase):
def test__config_returns_str(self):
@ -19,7 +18,7 @@ class LdapPillarTestCase(TestCase):
def test__conf_defaults_to_none(self):
conf = {'foo': 'bar'}
assert _config('bang', conf) == None
assert _config('bang', conf) is None
def test__conf_returns_str_from_unicode_default(self):
conf = {'foo': 'bar'}