Exemplo n.º 1
0
    def test_given_area_etc_then_path_to_prod(self):
        type = "branches"
        area = "etc"

        path = gitf.area(type, area)

        self.assertEqual(path, GIT_ROOT + area + "/" + type + "/prod")
Exemplo n.º 2
0
    def test_given_area_tools_then_path_to_build_scripts(self):
        type = "branches"
        area = "tools"

        path = gitf.area(type, area)

        self.assertEqual(path, GIT_ROOT + "diamond/" + type + "/build_scripts")
Exemplo n.º 3
0
    def test_given_area_tools_then_path_to_area(self):
        type = "branches"
        area = "other"

        path = gitf.area(type, area)

        self.assertEqual(path, GIT_ROOT + "diamond/" + type + "/" + area)
Exemplo n.º 4
0
    def test_given_area_epics_then_path_to_type(self):
        type = "branches"
        area = "epics"

        path = gitf.area(type, area)

        self.assertEqual(path, GIT_ROOT + area + "/" + type)