'Test that get_value returns correct value for any given key.'

def test_get_value(self):

    site_configuration = SiteConfigurationFactory.create(site=self.site, values=self.test_config1)
    self.assertEqual(site_configuration.get_value('university'), self.test_config1['university'])
    self.assertEqual(site_configuration.get_value('platform_name'), self.test_config1['platform_name'])
    self.assertEqual(site_configuration.get_value('SITE_NAME'), self.test_config1['SITE_NAME'])
    self.assertEqual(site_configuration.get_value('course_org_filter'), self.test_config1['course_org_filter'])
    self.assertEqual(site_configuration.get_value('css_overrides_file'), self.test_config1['css_overrides_file'])
    self.assertEqual(site_configuration.get_value('ENABLE_MKTG_SITE'), self.test_config1['ENABLE_MKTG_SITE'])
    self.assertEqual(site_configuration.get_value('favicon_path'), self.test_config1['favicon_path'])
    self.assertEqual(site_configuration.get_value('ENABLE_THIRD_PARTY_AUTH'), self.test_config1['ENABLE_THIRD_PARTY_AUTH'])
    self.assertEqual(site_configuration.get_value('course_about_show_social_links'), self.test_config1['course_about_show_social_links'])
    self.assertEqual(site_configuration.get_value('non_existent_name', 'dummy-default-value'), 'dummy-default-value')
    site_configuration.enabled = False
    site_configuration.save()
    self.assertEqual(site_configuration.get_value('university'), None)
    self.assertEqual(site_configuration.get_value('platform_name', 'Default    Platform    Name'), 'Default    Platform    Name')
    self.assertEqual(site_configuration.get_value('SITE_NAME', 'Default    Site    Name'), 'Default    Site    Name')
