shouting!!!!!! ahhh python 2 is bad

This commit is contained in:
codl 2017-11-27 20:51:12 +01:00
pare 8601a8a5e1
commit 8c9dcbe871
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 6CD7C8891ED1233A

Veure arxiu

@ -4,12 +4,12 @@ from mastodon.Mastodon import MastodonIllegalArgumentError
def test_constructor_from_filenames(tmpdir):
client = tmpdir.join('client')
client.write_text('foo\nbar\n', 'UTF-8')
client.write_text(u'foo\nbar\n', 'UTF-8')
access = tmpdir.join('access')
access.write_text('baz\n', 'UTF-8')
access.write_text(u'baz\n', 'UTF-8')
api = Mastodon(
str(client),
access_token = str(access))
access_token=str(access))
assert api.client_id == 'foo'
assert api.client_secret == 'bar'
assert api.access_token == 'baz'