def test_assert_standard_is_not_owner(self, mock_relationship): user = UserNode() task = TaskInst() with self.assertRaises(NotOwner): user.assert_owner(task)
def test_assert_owner_is_owner(self, mock_relationship): user = UserNode() task = TaskInst() user.assert_owner(task)