mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter errors/warnings
This commit is contained in:
parent
171217ae3c
commit
0e61cf39e4
1 changed files with 1 additions and 2 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Reference in a new issue