diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-11-28 12:16:26 +0000 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-11-28 12:16:26 +0000 |
| commit | 8ba5f9d72d9ab8618c57548d202ea81c8b5f8a19 (patch) | |
| tree | b4208d54937b307964214230e4be80841cbe1d01 /nova/openstack | |
| parent | 39e5e4853c1c8c6696e4028fbc5102b70441687e (diff) | |
| download | nova-8ba5f9d72d9ab8618c57548d202ea81c8b5f8a19.tar.gz nova-8ba5f9d72d9ab8618c57548d202ea81c8b5f8a19.tar.xz nova-8ba5f9d72d9ab8618c57548d202ea81c8b5f8a19.zip | |
Use flags() helper method to override config in tests
Setting config option values using setattr() is dangerous because the
value remains set even after the particular test finishes, so you can
end up with other tests relying on it and being unable to run tests
in isolation.
We have a helper method for doing this, just use it.
Change-Id: I872d7a4f70eceb9ff64f56901cb45552f237c733
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
