Skip to content
Snippets Groups Projects
Verified Commit a679f48f authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #192: removed useless localPosts and localComments

parent 310179c1
No related branches found
No related tags found
No related merge requests found
...@@ -27,9 +27,7 @@ def get(): ...@@ -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): ...@@ -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): ...@@ -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'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment