See #192: removed useless localPosts and localComments
This commit is contained in:
parent
310179c19e
commit
a679f48fcf
|
@ -27,9 +27,7 @@ def get():
|
||||||
'usage': {
|
'usage': {
|
||||||
'users': {
|
'users': {
|
||||||
'total': 0,
|
'total': 0,
|
||||||
},
|
}
|
||||||
'localPosts': 0,
|
|
||||||
'localComments': 0,
|
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'shortDescription': preferences.get('instance__short_description'),
|
'shortDescription': preferences.get('instance__short_description'),
|
||||||
|
|
|
@ -33,9 +33,7 @@ def test_nodeinfo_dump(preferences, mocker):
|
||||||
'usage': {
|
'usage': {
|
||||||
'users': {
|
'users': {
|
||||||
'total': stats['users'],
|
'total': stats['users'],
|
||||||
},
|
}
|
||||||
'localPosts': 0,
|
|
||||||
'localComments': 0,
|
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'shortDescription': preferences['instance__short_description'],
|
'shortDescription': preferences['instance__short_description'],
|
||||||
|
@ -90,9 +88,7 @@ def test_nodeinfo_dump_stats_disabled(preferences, mocker):
|
||||||
'usage': {
|
'usage': {
|
||||||
'users': {
|
'users': {
|
||||||
'total': 0,
|
'total': 0,
|
||||||
},
|
}
|
||||||
'localPosts': 0,
|
|
||||||
'localComments': 0,
|
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'shortDescription': preferences['instance__short_description'],
|
'shortDescription': preferences['instance__short_description'],
|
||||||
|
|
Loading…
Reference in New Issue