Fix linter complaints

This commit is contained in:
Daniel A. Wozniak 2019-09-03 16:59:31 +00:00
parent 8e33343f67
commit 0b28c6059b
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@ -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