Mercurial > public > sg101
diff accounts/fixtures/accounts.json @ 1209:d8bb9c36aae1 modernize tip
Add unit test for accounts task.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 30 Jan 2025 18:46:03 -0600 |
parents | ee87ea74d46b |
children |
line wrap: on
line diff
--- a/accounts/fixtures/accounts.json Tue Jan 28 19:02:18 2025 -0600 +++ b/accounts/fixtures/accounts.json Thu Jan 30 18:46:03 2025 -0600 @@ -1,30 +1,48 @@ [ { - "pk": 1, - "model": "accounts.illegalusername", + "pk": 1, + "model": "auth.user", + "fields": { + "username": "Gremmie", + "first_name": "", + "last_name": "", + "is_active": true, + "is_superuser": false, + "is_staff": false, + "last_login": "1969-12-31 18:00:00", + "groups": [], + "user_permissions": [], + "password": "!", + "email": "", + "date_joined": "2000-11-10 00:00:00" + } + }, + { + "pk": 1, + "model": "accounts.illegalusername", "fields": { "username": "root" } - }, + }, { - "pk": 2, - "model": "accounts.illegalusername", + "pk": 2, + "model": "accounts.illegalusername", "fields": { "username": "sg101" } - }, + }, { - "pk": 3, - "model": "accounts.illegalusername", + "pk": 3, + "model": "accounts.illegalusername", "fields": { "username": "surfguitar101" } - }, + }, { - "pk": 4, - "model": "accounts.illegalusername", + "pk": 4, + "model": "accounts.illegalusername", "fields": { "username": "webmaster" } } -] \ No newline at end of file +]