def test_load_settings_module_reload(self):
     sample_settings = helpers.load_settings_module("settings_composer.tests.sample_settings")
     self.assertTrue(sample_settings.THIS_IS_A_SETTING)
     sample_settings.THIS_IS_A_SETTING = False
     helpers.load_settings_module("settings_composer.tests.sample_settings")
     self.assertTrue(sample_settings.THIS_IS_A_SETTING)
 def test_get_settings_from_module(self):
     module = helpers.load_settings_module("settings_composer.tests.sample_settings")
     self.assertEqual(helpers.get_settings_from_module(module), {"THIS_IS_A_SETTING": True})
    def test_load_settings_module(self):
        from . import sample_settings

        loaded_sample_settings = helpers.load_settings_module("settings_composer.tests.sample_settings")
        self.assertEqual(sample_settings, loaded_sample_settings)