From bd04a0f886305c8db438644d712517621c53a49e Mon Sep 17 00:00:00 2001 From: Aljoscha Rittner Date: Tue, 28 Jun 2022 13:22:06 +0200 Subject: Fixed overseen test failure with new app name in "secret" file --- tests/test_create_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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): def test_create_app_to_file(mocker, tmpdir): filepath = tmpdir.join('credentials') test_create_app(mocker, to_file=str(filepath)) - assert filepath.read_text('UTF-8') == "foo\nbar\nhttps://example.com\n" + assert filepath.read_text('UTF-8') == "foo\nbar\nhttps://example.com\nMastodon.py test suite\n" def test_create_app_redirect_uris(mocker): test_create_app(mocker, redirect_uris='http://example.net') -- cgit v1.2.3