<reponame>PeopleNet/common<gh_stars>100-1000
import os
import sys
import unittest

sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'examples'))
from mytask import MyTask

class TestHelper(unittest.TestCase):
    def test_task(self):
        result = MyTask().task({'name': 'Robert'})
        self.assertEqual(result, {'result': 'Hi, my name is Robert'})

import os
import sys
import unittest

sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'examples'))
from mytask import MyTask

class TestHelper(unittest.TestCase):
    def test_task(self):
        result = MyTask().task({'name': 'Robert'})
        self.assertEqual(result, {'result': 'Hi, my name is Robert'})