def test_config_file_name_empty(self): from charlesbot.config import configuration self.assertEqual(configuration.get_config_file_name(), './development.yaml')
def test_config_file_name_not_present(self): from charlesbot.config import configuration del os.environ['CHARLESBOT_SETTINGS_FILE'] self.assertEqual(configuration.get_config_file_name(), './development.yaml')
def test_config_file_name(self): from charlesbot.config import configuration self.assertEqual(configuration.get_config_file_name(), 'filename')