diff options
author | Aljoscha Rittner <[email protected]> | 2022-06-28 13:22:06 +0200 |
---|---|---|
committer | Aljoscha Rittner <[email protected]> | 2022-06-28 13:22:06 +0200 |
commit | bd04a0f886305c8db438644d712517621c53a49e (patch) | |
tree | 8a1903a46a025284bf96183d41e1c90b51504dfa /tests | |
parent | 2dce8a297a20bb654b49d8b87fb0b31ee23d7f4e (diff) | |
download | mastodon.py-bd04a0f886305c8db438644d712517621c53a49e.tar.gz |
Fixed overseen test failure with new app name in "secret" file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_create_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_create_app.py b/tests/test_create_app.py index 8260751..08538ce 100644 --- a/tests/test_create_app.py +++ b/tests/test_create_app.py | |||
@@ -31,7 +31,7 @@ def test_create_app(mocker, to_file=None, redirect_uris=None, website=None): | |||
31 | def test_create_app_to_file(mocker, tmpdir): | 31 | def test_create_app_to_file(mocker, tmpdir): |
32 | filepath = tmpdir.join('credentials') | 32 | filepath = tmpdir.join('credentials') |
33 | test_create_app(mocker, to_file=str(filepath)) | 33 | test_create_app(mocker, to_file=str(filepath)) |
34 | assert filepath.read_text('UTF-8') == "foo\nbar\nhttps://example.com\n" | 34 | assert filepath.read_text('UTF-8') == "foo\nbar\nhttps://example.com\nMastodon.py test suite\n" |
35 | 35 | ||
36 | def test_create_app_redirect_uris(mocker): | 36 | def test_create_app_redirect_uris(mocker): |
37 | test_create_app(mocker, redirect_uris='http://example.net') | 37 | test_create_app(mocker, redirect_uris='http://example.net') |