Skip to content

Commit b1c2d62

Browse files
committed
Corrects the status test according to present json parameters
Corrects array parameter names in status test
1 parent 94308db commit b1c2d62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ def test_status(self):
1414
"""test status"""
1515
result = self.loklak.status()
1616

17-
self.assertTrue('index_sizes' in result)
17+
self.assertTrue('index' in result)
1818
result_properties = [
1919
'messages', 'mps', 'users', 'queries',
2020
'accounts', 'user', 'followers', 'following'
2121
]
2222
for prop in result_properties:
2323
self.assertTrue(
24-
prop in result['index_sizes'],
25-
msg='{} not found in index_sizes'.format(prop)
24+
prop in result['index'],
25+
msg='{} not found in index'.format(prop)
2626
)
2727

2828
def test_hello(self):

0 commit comments

Comments
 (0)