def test_get_client_secrets_location(self):
     location = AppScaleState.get_client_secrets_location(
         self.default_keyname)
     expected = os.path.join(
         AppScaleState.config_path(),
         "{0}-secrets.json".format(self.default_keyname))
     self.assertEqual(expected, location)
 def test_locations_yaml_location(self):
     location = AppScaleState.locations_yaml_location(self.default_keyname)
     expected = os.path.join(
         AppScaleState.config_path(),
         "locations-{0}.yaml".format(self.default_keyname))
     self.assertEqual(expected, location)
 def test_get_oauth2_storage_location(self):
     location = AppScaleState.get_oauth2_storage_location(
         self.default_keyname)
     expected = os.path.join(AppScaleState.config_path(),
                             "{0}-oauth2.dat".format(self.default_keyname))
     self.assertEqual(expected, location)
 def test_config_path(self):
     actual = AppScaleState.config_path()
     expected = self.default_configdir
     self.assertEqual(expected, actual)