def testGetConfig(self):
    # Use UpdateConfig to generate a config.
    location = ["http://example.com"]
    request = rdf_protodict.Dict()
    request["Client.server_urls"] = location
    request["Client.foreman_check_frequency"] = 3600

    self.RunAction("UpdateConfiguration", request)
    # Check that our GetConfig actually gets the real data.
    self.RunAction("GetConfiguration")

    self.assertEqual(config_lib.CONFIG["Client.foreman_check_frequency"], 3600)
    self.assertEqual(config_lib.CONFIG["Client.server_urls"], location)
Get all available languages code.
dataset/ETHPy150Open google/grr/grr/client/client_actions/admin_test.py/ConfigActionTest.testGetConfig--crossover with--dataset/ETHPy150Open Opentaste/bombolone/bombolone/core/languages.py/Languages.available_lang_code