Package list python-castellan / 310fc84
Correct config path in functional test We provide two ways to load castellan-functional.conf, but specify a wrong path in the repo, this patch fixes that. Also clarify the description in doc. Change-Id: Id05b11e70a0ed46fcdd922a5f22f86df87b930ae Jeremy Liu 4 years ago
2 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
4848 TEST_CONF.register_opts(identity_options, group=identity_group)
4949
5050 config_to_load = []
51 local_config = './../../../etc/castellan/castellan-functional.conf'
51 local_config = './etc/castellan/castellan-functional.conf'
5252 main_config = '/etc/castellan/castellan-functional.conf'
5353 if os.path.isfile(config_file):
5454 config_to_load.append(config_file)
4646 .. _`Setting up a Barbican development environment`: http://docs.openstack.org/developer/barbican/setup/dev.html
4747 .. _`Using Keystone Middleware with Barbican`: http://docs.openstack.org/developer/barbican/setup/keystone.html
4848
49 Castellan uses ``/etc/castellan/castellan-functional.conf`` in order to
50 run functional tests. A sample file can be generated by running:
49 Castellan uses either ``/etc/castellan/castellan-functional.conf`` or ``./etc/castellan/castellan-functional.conf``
50 in order to run functional tests. A sample file can be generated by running:
5151
5252 .. code-block:: bash
5353
5656
5757 ``castellan/etc/castellan/castellan-functional.conf.sample`` is generated.
5858 It must be renamed to ``castellan-functional.conf`` and placed in
59 ``/etc/castellan``.
59 ``/etc/castellan`` or ``./etc/castellan``.
6060
6161 The file should look something like the following:
6262