Example #1
0
 def test_assert_not_have_task_false(self, mock_is_connected):
     user = UserNode()
     task = TaskInst()
     user.assert_not_have_task(task)
Example #2
0
 def test_assert_not_have_task_true(self, mock_is_connected):
     user = UserNode()
     task = TaskInst()
     with self.assertRaises(AlreadyHasTheTask):
         user.assert_not_have_task(task)