Example #1
0
 def test_assert_accept_accept(self, mock_relationship):
     user = UserNode()
     task = TaskInst()
     user.assert_accept(task)
Example #2
0
 def test_assert_accept_reject(self, mock_relationship):
     user = UserNode()
     task = TaskInst()
     with self.assertRaises(NotAccept):
         user.assert_accept(task)