i have writted a python file with a lot of functions and i decided i want to split all of them to diffrent files with their names and with the same imports.
the code looks something like this:
import....
class TestExtractors(unittest.TestCase):
def test_icloud(self):...
def test_gogoair(self):...
def test_touchofmodern(self):...
i have over 100 functions in the same file so it became too long. i would like to split each function to a file with the same import
, and class TestExtractor(unittest.TestCase):
and i would like the filename to be the name of the function(without (self)).
thank you for any advice!