mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix some pylint issues
This commit is contained in:
parent
a0ed59dad9
commit
cf27069dcb
@ -51,8 +51,14 @@ class LinuxAclTestCase(TestCase, LoaderModuleMockMixin):
|
||||
{name: {acl_type: [{}]}},
|
||||
{name: {acl_type: [{}]}},
|
||||
{name: {acl_type: [{}]}},
|
||||
{name: {acl_type: [{acl_name: {'octal': 7}}]}, name+"/foo": {acl_type: [{acl_name: {'octal': 'A'}}]}},
|
||||
{name: {acl_type: [{acl_name: {'octal': 7}}]}, name+"/foo": {acl_type: [{acl_name: {'octal': 7}}]}},
|
||||
{
|
||||
name: {acl_type: [{acl_name: {'octal': 7}}]},
|
||||
name+"/foo": {acl_type: [{acl_name: {'octal': 'A'}}]}
|
||||
},
|
||||
{
|
||||
name: {acl_type: [{acl_name: {'octal': 7}}]},
|
||||
name+"/foo": {acl_type: [{acl_name: {'octal': 7}}]}
|
||||
},
|
||||
{name: {acl_type: ''}}])
|
||||
mock_modfacl = MagicMock(return_value=True)
|
||||
|
||||
@ -218,7 +224,6 @@ class LinuxAclTestCase(TestCase, LoaderModuleMockMixin):
|
||||
ret.update({'comment': comt, 'result': False})
|
||||
self.assertDictEqual(linux_acl.absent(name, acl_type, acl_name, perms), ret)
|
||||
|
||||
|
||||
def test_absent_recursive(self):
|
||||
'''
|
||||
Test to ensure a Linux ACL does not exist
|
||||
|
Loading…
Reference in New Issue
Block a user