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
|
@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',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue