def test_name_attribute_formatting(self):
        """testing if the name property will be formatted correctly.
        """
        new_project = Project("TEST_NAME")

        for test_value in self._name_test_values:
            new_project.name = test_value[0]
            expected_project_name = test_value[1]

            self.assertEqual(new_project.name, expected_project_name)
    def test_name_attribute_formatting(self):
        """testing if the name property will be formatted correctly.
        """
        new_project = Project("TEST_NAME")

        for test_value in self._name_test_values:
            new_project.name = test_value[0]
            expected_project_name = test_value[1]

            self.assertEqual(new_project.name, expected_project_name)
 def test_path_attribute_does_not_change_when_the_name_of_the_project_is_changed(self):
     """testing if the path attribute will be the same even the name of
     the proejct is changed
     """
     new_proj = Project(name="TEST_PROJ1")
     path = new_proj.path
     
     # change the name
     new_proj.name = "TEST_PROJ1_NEW_NAME"
     
     # now check if the path is still the same
     self.assertEqual(new_proj.path, path)
    def test_path_attribute_does_not_change_when_the_name_of_the_project_is_changed(
            self):
        """testing if the path attribute will be the same even the name of
        the proejct is changed
        """
        new_proj = Project(name="TEST_PROJ1")
        path = new_proj.path

        # change the name
        new_proj.name = "TEST_PROJ1_NEW_NAME"

        # now check if the path is still the same
        self.assertEqual(new_proj.path, path)