mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Fix linter complaints
This commit is contained in:
parent
8e33343f67
commit
0b28c6059b
@ -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…
Reference in New Issue
Block a user