'Check GetConfig client action works.'

def testGetConfig(self):

    location = ['http://example.com/']
    request = rdf_protodict.Dict()
    request['Client.server_urls'] = location
    request['Client.foreman_check_frequency'] = 3600
    self.RunAction(admin.UpdateConfiguration, request)
    self.RunAction(admin.GetConfiguration)
    self.assertEqual(config.CONFIG['Client.foreman_check_frequency'], 3600)
    self.assertEqual(config.CONFIG['Client.server_urls'], location)
