f7f5231677
There are scenarios where it is useful to create a ConfigOpts and register_opts on it before ever calling the PlacementFixture. If that is done we don't want to re-register the opts within the fixture as this can lead to errors (especially when CLI opts are involved). The scenario that discovered this problem is in nova in a regression test [1] where a ConfigOpts is created and registered, the placement DatabaseFixture is started and then that same config is used in multiple instances of the PlacementFixture, each of which again register_opts(). Until commit |
||
---|---|---|
.. | ||
__init__.py | ||
api.py | ||
base.py | ||
database.py | ||
opts.py | ||
paths.py | ||
placement.py |