tests: use named parameters for user test
This commit is contained in:
parent
14cbbefdde
commit
d27895e04e
1 changed files with 7 additions and 7 deletions
|
@ -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',
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue