aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAljoscha Rittner <[email protected]>2022-06-28 13:22:06 +0200
committerAljoscha Rittner <[email protected]>2022-06-28 13:22:06 +0200
commitbd04a0f886305c8db438644d712517621c53a49e (patch)
tree8a1903a46a025284bf96183d41e1c90b51504dfa
parent2dce8a297a20bb654b49d8b87fb0b31ee23d7f4e (diff)
downloadmastodon.py-bd04a0f886305c8db438644d712517621c53a49e.tar.gz
Fixed overseen test failure with new app name in "secret" file
-rw-r--r--tests/test_create_app.py2
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):
31def test_create_app_to_file(mocker, tmpdir): 31def 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
36def test_create_app_redirect_uris(mocker): 36def 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')
Powered by cgit v1.2.3 (git 2.41.0)