tests: use named parameters for user test

This commit is contained in:
mathieui 2021-03-26 11:40:41 +01:00
parent 14cbbefdde
commit d27895e04e

View file

@ -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',
)