From 3277ca777821e76955fb26d80788939a311db9db Mon Sep 17 00:00:00 2001 From: halcy Date: Mon, 7 Nov 2022 23:11:30 +0200 Subject: Initial test fixing pass. Four tests still fail. --- tests/test_auth.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/test_auth.py') diff --git a/tests/test_auth.py b/tests/test_auth.py index fbf8974..c3acb66 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -26,8 +26,8 @@ def test_log_in_none(api_anonymous): @pytest.mark.vcr() def test_log_in_password(api_anonymous): token = api_anonymous.log_in( - username='admin@localhost', - password='mastodonadmin') + username='mastodonpy_test_2@localhost:3000', + password='5fc638e0e53eafd9c4145b6bb852667d') assert token @pytest.mark.vcr() @@ -41,8 +41,8 @@ def test_log_in_password_incorrect(api_anonymous): def test_log_in_password_to_file(api_anonymous, tmpdir): filepath = tmpdir.join('token') api_anonymous.log_in( - username='admin@localhost', - password='mastodonadmin', + username='mastodonpy_test_2@localhost:3000', + password='5fc638e0e53eafd9c4145b6bb852667d', to_file=str(filepath)) token = filepath.read_text('UTF-8').rstrip().split("\n")[0] assert token -- cgit v1.2.3