mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
53
tests/comment_tests/fixtures/comment_tests.json
Normal file
53
tests/comment_tests/fixtures/comment_tests.json
Normal file
@@ -0,0 +1,53 @@
|
||||
[
|
||||
{
|
||||
"model" : "comment_tests.book",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"dewey_decimal" : "12.34"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.author",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"first_name" : "John",
|
||||
"last_name" : "Smith"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.author",
|
||||
"pk" : 2,
|
||||
"fields" : {
|
||||
"first_name" : "Peter",
|
||||
"last_name" : "Jones"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.article",
|
||||
"pk" : 1,
|
||||
"fields" : {
|
||||
"author" : 1,
|
||||
"headline" : "Man Bites Dog"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model" : "comment_tests.article",
|
||||
"pk" : 2,
|
||||
"fields" : {
|
||||
"author" : 2,
|
||||
"headline" : "Dog Bites Man"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"model" : "auth.user",
|
||||
"pk" : 100,
|
||||
"fields" : {
|
||||
"username" : "normaluser",
|
||||
"password" : "34ea4aaaf24efcbb4b30d27302f8657f",
|
||||
"first_name": "Joe",
|
||||
"last_name": "Normal",
|
||||
"email": "joe.normal@example.com"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user