You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
626 B
18 lines
626 B
from json import dumps
|
|
|
|
def comment(author, title, text):
|
|
return {
|
|
"title" : title,
|
|
"author" : author,
|
|
"text" : text
|
|
}
|
|
|
|
|
|
testcomments = {
|
|
1 : dumps(
|
|
[
|
|
comment("Anonymous Coward 0", "Some comment?", "super duper awesome comment here"),
|
|
comment("Anonymous Coward 1", "Something? IDEK", "super duper worse comment here"),
|
|
comment("Anonymous Coward 2", "Some other comment?", "super duper dang terrible comment here")
|
|
])
|
|
}
|
|
|