rebased CHANGES and tests
This commit is contained in:
parent
e453e0050b
commit
4f255a355d
@ -203,6 +203,7 @@ class TestCommentForm(unittest.TestCase):
|
|||||||
for comment in comments:
|
for comment in comments:
|
||||||
self.assertEqual(comment.text, u"foobar")
|
self.assertEqual(comment.text, u"foobar")
|
||||||
self.assertEqual(comment.creator, "test_user_1_")
|
self.assertEqual(comment.creator, "test_user_1_")
|
||||||
|
|
||||||
self.assertEqual(comment.getOwner().getUserName(), "test-user")
|
self.assertEqual(comment.getOwner().getUserName(), "test-user")
|
||||||
local_roles = comment.get_local_roles()
|
local_roles = comment.get_local_roles()
|
||||||
self.assertEqual(len(local_roles), 1)
|
self.assertEqual(len(local_roles), 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user