Codebase list python-castellan / 6344795
Merge "Correct config path in functional test" Jenkins authored 6 years ago Gerrit Code Review committed 6 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