A user will be able to specify which values should not be included in
tempest configuration file through --remove argument.
For ommiting value(s):
--remove section.key=value[,value2[...]]
For ommiting all values in section.key:
--remove section.key
Patch removes network.remove-extension option, because the patch is more
generic solution of the same issue.
Change-Id: I0375f2bbfa3bb7db4f9b81ea1518e86d725c30a3
So that the format matches the extension.
The other option would have been to rename the file to README.md,
but that would require changes in the spec file for RDO for example.
Change-Id: I0766abd310b0ea717989e755ace7252d68d7111f
Merge base_service_test.py and base_config_tempest_test.py into base.py to cut
one level of base hierarchy.
Change-Id: Id98b9c3a5788b4ca6198462df48426e6a79224a6
The patch splits tests located in test_config_tempest.py to multiple files
for better readability.
Change-Id: I2454186535a8eeb3ce74ae134abe605f2478002e
* It will remove a list of api-extension from network-api-extension
* If this argument is not passed, it will not remove anything.
* Currently neutron ext-list provides available extensions
but it doesnot lists enabled extensions. So we have added
an option to remove extension based on need. As there is a
neutron for the same:
https://bugs.launchpad.net/neutron/+bug/1450067
Change-Id: Id205e972bee406ae30e44d3d7cdda619ecb1f5c6
The patch adds more tests for functions of tempest_config module and
refactors function names in test class which tests flavors.
Change-Id: If7d54edd1e66e1315d4fc7bb2689208f86ddfb7d
The patch adds unit tests for ClientManager class, TempestConf class
and methods of the module itself.
Change-Id: I9e8f251c09887cca92337e79f596bf94defc1b49
Otherwise, if no network is found, public_network_name won't be
defined and an exception will be raised.
Change-Id: Ida6a232b2b67e50706cfa7cd75372ff3f2f9e9f9
Otherwise, when the code follows that branch, public_network_name
won't be defined and an exception will be raised.
Change-Id: I96007d74d78a42f4eb9543f52fae8f24a0161ac7
tempest-workspace/etc
* As tempest init <tempest workspace> dumpes all the config files in
tempest-workspace/etc. so discover-config-tempest should read the
default-overrides.conf from there otherwise user needs to pass an
argument --deployer-input <path to default-overrides.conf> file.
* Remove python shebang from config-tempest.py
Fixes: https://github.com/redhat-openstack/python-tempestconf/issues/4
Change-Id: I68eb6e57f0b14da78e2d70a86aca106b2a34aebe
The patch fixes config_tempest which was failing on RDO ocata installed by
packstack because of keystone v3 conflicts.
Change-Id: I4ff7cbc1cc11a892d870b146a280e6bdfbeeaba9
These Hacking checks are enabled in Tempest[1], so we might as well
include them here.
For info:
* H106: Don't put vim configuration in source files.
* H203: Use assertIs(Not)None to check for None
* H904: Delay string interpolations at logging calls
More on this can be found in the Hacking doc[2].
[1]: https://git.openstack.org/cgit/openstack/tempest/tree/tox.ini?h=master#n149
[2]: https://pypi.python.org/pypi/hacking
Change-Id: Id2fd27f726811eeea682227f3566dbe0b011a8b0
This change allows the config_tempest.py script to be able to
configure Tempest to Test Manila by default by adding it to the
list of available services.
Change-Id: Ic21752f723b5856fbdbc76b55b81d9eec949aa2d
This commit starts using reno for tracking release notes and
documentation on the python-tempestconf project.
Change-Id: I26de978d4db7b6e67451be56dbf007a7918b4a7a
This commit sets the proper gerrit to use with the project, besides the
one set up from the cookiecutter template.
Change-Id: I640e676d237a6886042dcdcf4f55bf240b858a66