class TestProject(TestCase):

    """test things related to the Project class"""

    def setUp(self):
        self.settings = ProjectSettings()

    def test_update(self):
        self.settings.update(settings_dict)

        assert self.settings.get_env_settings('iar') == settings_dict['tools']['iar']['path'][0]
        assert self.settings.get_env_settings('uvision') == settings_dict['tools']['uvision']['path'][0]
        assert self.settings.export_location_format == settings_dict['export_dir'][0]
 def setUp(self):
     settings = ProjectSettings()
     self.targets = Targets(settings.get_env_settings('definitions'))
 def setUp(self):
     settings = ProjectSettings()
     self.targets = Targets(settings.get_env_settings('definitions'))