Data-Test-Executer Framework speziell zum Test von Datenverarbeitungen mit Datengenerierung, Systemvorbereitungen, Einspielungen, ganzheitlicher diversifizierender Vergleich
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
494 B

3 years ago
import unittest, os
3 years ago
import utils.path_tool as path_tool
3 years ago
import basic.program as program
3 years ago
import test.constants
HOME_PATH = test.constants.HOME_PATH
3 years ago
class MyTestCase(unittest.TestCase):
def test_pathTool(self):
x = program.Job("test:application=TEST:application=ENV01")
3 years ago
self.assertEqual(path_tool.generatePath("program", "komp", "testA", "CONFIG.yml"),
os.path.join(HOME_PATH, "components","testA","CONFIG.yml"))
3 years ago
if __name__ == '__main__':
unittest.main()