From d27895e04e9100e9368a81756c0d679155a571d8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 26 Mar 2021 11:40:41 +0100 Subject: tests: use named parameters for user test --- test/test_user.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test_user.py b/test/test_user.py index e3222383..cda85577 100644 --- a/test/test_user.py +++ b/test/test_user.py @@ -11,13 +11,13 @@ from poezio.user import User @pytest.fixture def user1(): return User( - 'nick1', - 'member', - 'xa', - 'My Status!', - 'moderator', - JID('foo@muc/nick1'), - 'red', + nick='nick1', + affiliation='member', + show='xa', + status='My Status!', + role='moderator', + jid=JID('foo@muc/nick1'), + color='red', ) -- cgit v1.2.3