really test that update_taskstatus is called
This commit is contained in:
parent
266794d447
commit
6b36cc95ff
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class TaskResultInlineTest(TestCase):
|
|||
mock.return_value = [entrymock]
|
||||
requestmock = Mock(name='request')
|
||||
UserTaskResultInline(User, self.site).get_queryset(requestmock)
|
||||
entrymock.assert_calledwith()
|
||||
entrymock.update_taskstatus.assert_calledwith()
|
||||
|
||||
def test_has_add_permissions_returns_false(self):
|
||||
self.assertFalse(
|
||||
|
|
Loading…
Reference in a new issue