Utilization of TestFiles repository
In test modules:
wetb.utils import testfiles tfp = os.path.dirname(os.path.abspath(__file__)) + "/test_files/" def testxxx(self): testfile = testfiles.get_test_file(tfp + 'test.txt')
Make a module wetb.utils.testfiles
get_test_file(file): if not exists(file): download from https://gitlab.windenergy.dtu.dk/toolbox/TestFiles/<path> return file