diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-26 11:40:41 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-02 17:44:36 +0200 |
commit | d27895e04e9100e9368a81756c0d679155a571d8 (patch) | |
tree | 3e79240ece04cd9a2e811b974033cad873f4bdd7 /test | |
parent | 14cbbefdde377fafb52fe306956cd91c68d39d8e (diff) | |
download | poezio-d27895e04e9100e9368a81756c0d679155a571d8.tar.gz poezio-d27895e04e9100e9368a81756c0d679155a571d8.tar.bz2 poezio-d27895e04e9100e9368a81756c0d679155a571d8.tar.xz poezio-d27895e04e9100e9368a81756c0d679155a571d8.zip |
tests: use named parameters for user test
Diffstat (limited to 'test')
-rw-r--r-- | test/test_user.py | 14 |
1 files 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', ) |