Browse Source

update test fixtures and backup the murmur database I use for testing

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
1cfcb6f438
  1. 8
      pyweb/mumble/fixtures/README
  2. BIN
      pyweb/mumble/fixtures/mumble-server.sqlite
  3. 60
      pyweb/mumble/fixtures/testdb.json

8
pyweb/mumble/fixtures/README

@ -0,0 +1,8 @@
These fixtures are only used for testing purposes and may be ignored for a
standard installation of mumble-django.
They can be created from a running database using the following command:
./manage.py dumpdata --indent=2 mumble auth > mumble/fixtures/testdb.json
The provided mumble-server.db3 file is a Murmur database that can be used
together with the provided fixtures to run the tests.

BIN
pyweb/mumble/fixtures/mumble-server.sqlite

60
pyweb/mumble/fixtures/testdb.json

@ -64,6 +64,28 @@
"server": 1 "server": 1
} }
}, },
{
"pk": 4,
"model": "mumble.mumbleuser",
"fields": {
"owner": 3,
"mumbleid": 4,
"password": "",
"name": "user",
"server": 1
}
},
{
"pk": 5,
"model": "mumble.mumbleuser",
"fields": {
"owner": 4,
"mumbleid": 5,
"password": "",
"name": "admin",
"server": 1
}
},
{ {
"pk": 13, "pk": 13,
"model": "auth.permission", "model": "auth.permission",
@ -464,7 +486,7 @@
"pk": 2, "pk": 2,
"model": "auth.user", "model": "auth.user",
"fields": { "fields": {
"username": "nocheinuser",
"username": "unreg",
"first_name": "", "first_name": "",
"last_name": "", "last_name": "",
"is_active": true, "is_active": true,
@ -477,5 +499,41 @@
"email": "", "email": "",
"date_joined": "2010-08-04 23:43:38" "date_joined": "2010-08-04 23:43:38"
} }
},
{
"pk": 3,
"model": "auth.user",
"fields": {
"username": "user",
"first_name": "",
"last_name": "",
"is_active": true,
"is_superuser": false,
"is_staff": false,
"last_login": "2010-08-09 21:52:26",
"groups": [],
"user_permissions": [],
"password": "sha1$29968$676eef769fb463e8f6fb644bcad3d6c88e7b2e51",
"email": "",
"date_joined": "2010-08-09 21:52:26"
}
},
{
"pk": 4,
"model": "auth.user",
"fields": {
"username": "admin",
"first_name": "",
"last_name": "",
"is_active": true,
"is_superuser": false,
"is_staff": false,
"last_login": "2010-08-09 21:52:53",
"groups": [],
"user_permissions": [],
"password": "sha1$618ff$faa3b4d6818c777a0a1710ad0e465761a87f3885",
"email": "",
"date_joined": "2010-08-09 21:52:53"
}
} }
] ]
Loading…
Cancel
Save