-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config cleanup #3
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3aa3ae7
usmqe_config: drop usm api url autoconfiguration
mbukatov eb394ef
move default conf. values into pytest.ini
mbukatov 0b7b478
conf: update usm.ini example to match the defaults
mbukatov e3a0724
docs: description of test configuraion
mbukatov a8adab0
cleanup of names of default and example config files
mbukatov ab87b56
rename raut config group to webstr
mbukatov 556c867
make default pytest.ini more readable
mbukatov cd10082
example_usm.ini: example of referencing other values
mbukatov e383601
fix typo in README
mbukatov 397e849
docs: fix typos in test_configuration.rst
mbukatov eaa2a37
drop most options from pytest_addoption hook
mbukatov 11dbddf
simplify usmqe config
mbukatov 4d36a59
clarify how to use pytest override ini feature
mbukatov bea7535
docs: fixing typos
mbukatov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# this is example of usm qe configuration file | ||
[usm] | ||
log_level = DEBUG | ||
username = <username> | ||
password = <password> | ||
url = https://example-usm3-server.usmqe.tendrl.org:10443 | ||
ca_cert = conf/tendrl_ca.crt | ||
# This is example of USM QE configuration file. | ||
|
||
[raut] | ||
SELENIUM_SERVER = None | ||
# All options in `usmqepytest` section will be loaded during pytest start | ||
# so that it will be available as if it were specified directly in pytest.ini | ||
# (see plugin/usmqe_config.py for details). | ||
[usmqepytest] | ||
usm_log_level = DEBUG | ||
usm_username = <username> | ||
usm_password = <password> | ||
usm_web_url = https://example-usm3-server.usmqe.tendrl.org | ||
usm_api_url = %(usm_web_url):9393/api/1.0/ | ||
usm_ca_cert = conf/tendrl_ca.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[pytest] | ||
|
||
# | ||
# USM QE config section (see plugin/usmqe_config.py) | ||
# | ||
|
||
# Path to the main usmqe config file (that is the file one should edit to | ||
# change configuration of usm qe tests). | ||
usm_config = conf/usm.ini | ||
|
||
# Path to the host inventory file (list of all machines of a test cluster | ||
# grouped into roles). This file is used both by ansible and usm qe tests. | ||
usm_host_config = conf/usm.hosts | ||
|
||
# Predefined usmqe configuration values. | ||
# You should not change them here, but edit ini file referenced in usm_config | ||
# | ||
# For add hoc changes, one can redefine the values from the command line: | ||
# | ||
# $ py.test -o=usm_username=admin2 | ||
|
||
# usm config group | ||
usm_log_level = logging.DEBUG | ||
usm_username = admin | ||
usm_password = | ||
usm_web_url = | ||
usm_api_url = | ||
usm_ca_cert = False | ||
usm_keyfile = "~/.ssh/id_rsa" | ||
|
||
# webstr config group: webstr specific options | ||
usm_webstr_selenium_server = | ||
|
||
# ldap config group: LDAP specific options | ||
usm_ldap_server = None | ||
usm_ldap_port = 389 | ||
usm_ldap_base = None | ||
usm_ldap_domainadmin = None | ||
usm_ldap_password = None | ||
usm_ldap_uid = "cn" | ||
usm_ldap_firstname = "displayName" | ||
usm_ldap_lastname = "sn" | ||
usm_ldap_displayname = None | ||
usm_ldap_email = "mail" | ||
usm_ldap_user_file = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: "mahcine"