mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter complaints
This commit is contained in:
parent
8e33343f67
commit
0b28c6059b
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
# -*- coding: utf-8 -*-
|
|
@ -43,7 +43,7 @@ class WriteTokenTest(TestCase):
|
|||
assert 'token' in tdata
|
||||
t_path = os.path.join(tmpdir, tdata['token'])
|
||||
temp_t_path = '{}.tmp'.format(t_path)
|
||||
assert len(fopen.called_with) == 1, len(fopen_called_with)
|
||||
assert len(fopen.called_with) == 1, len(fopen.called_with)
|
||||
assert fopen.called_with == [
|
||||
((temp_t_path, 'w+b'), {})
|
||||
], fopen.called_with
|
||||
|
|
Loading…
Add table
Reference in a new issue