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")
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")
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)
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)