I have a python function somefunc(), that must return an array like this [1, 2, 3]
. Now I'm writing a unittest to check what this functions return:
class TestingFunctionsTest(unittest.TestCase):
def test_somefunc(self):
#what to write here ?
I'm new in python testing, please help.