fix deprecation warning
This commit is contained in:
parent
1946991928
commit
52c6372664
@ -549,7 +549,7 @@ class CommentCatalogTest(unittest.TestCase):
|
|||||||
'v': 'Comment',
|
'v': 'Comment',
|
||||||
}]
|
}]
|
||||||
|
|
||||||
self.assertEqual(len(collection.results()), 1)
|
self.assertEqual(collection.results().length, 1)
|
||||||
self.assertEqual(collection.results()[0].text, 'Comment text')
|
self.assertEqual(collection.results()[0].text, 'Comment text')
|
||||||
self.assertEqual(collection.results()[0].creator, 'jim')
|
self.assertEqual(collection.results()[0].creator, 'jim')
|
||||||
self.assertEqual(collection.results()[0].author_name, 'Jim')
|
self.assertEqual(collection.results()[0].author_name, 'Jim')
|
||||||
|
Loading…
Reference in New Issue
Block a user