From f926d86530f9d656de7e602304579b18f972a7db Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 4 May 2012 10:46:06 +0100 Subject: Use ConfigOpts.find_file() to locate policy.json Use cfg's new helper method to find policy config file. The basic behavior is "look alongside the config file" with a fall back to the standard default config paths. Change-Id: I763097107c53fc9b7d4e783ee92bf16989d92cff --- nova/tests/fake_flags.py | 1 - 1 file changed, 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/fake_flags.py b/nova/tests/fake_flags.py index 0da6ff69d..598fb3afc 100644 --- a/nova/tests/fake_flags.py +++ b/nova/tests/fake_flags.py @@ -43,4 +43,3 @@ FLAGS.set_default('flat_network_bridge', 'br100') FLAGS.set_default('sqlite_synchronous', False) flags.DECLARE('policy_file', 'nova.policy') flags.DECLARE('compute_scheduler_driver', 'nova.scheduler.multi') -FLAGS.set_default('policy_file', 'nova/tests/policy.json') -- cgit