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 @pytest.fixture
def user1(): def user1():
return User( return User(
'nick1', nick='nick1',
'member', affiliation='member',
'xa', show='xa',
'My Status!', status='My Status!',
'moderator', role='moderator',
JID('foo@muc/nick1'), jid=JID('foo@muc/nick1'),
'red', color='red',
) )