Merge "Removes host header from functional tests"

This commit is contained in:
Jenkins 2014-04-29 19:58:30 +00:00 committed by Gerrit Code Review
commit 399fa74e9d
3 changed files with 0 additions and 3 deletions

View File

@ -39,7 +39,6 @@ _MARCONI_OPTIONS = (
_HEADERS_OPTIONS = ( _HEADERS_OPTIONS = (
cfg.StrOpt("host", default="example.com"),
cfg.StrOpt("user_agent", default="FunctionalTests"), cfg.StrOpt("user_agent", default="FunctionalTests"),
cfg.StrOpt("project_id", default="123456"), cfg.StrOpt("project_id", default="123456"),
) )

View File

@ -44,7 +44,6 @@ def create_marconi_headers(conf):
"""Returns headers to be used for all Marconi requests.""" """Returns headers to be used for all Marconi requests."""
headers = { headers = {
"Host": conf.headers.host,
"User-Agent": conf.headers.user_agent, "User-Agent": conf.headers.user_agent,
"Accept": "application/json", "Accept": "application/json",
"X-Project-ID": conf.headers.project_id, "X-Project-ID": conf.headers.project_id,

View File

@ -14,6 +14,5 @@
# config = functional-marconi.conf # config = functional-marconi.conf
[headers] [headers]
# host = example.com
# useragent = FunctionalTests # useragent = FunctionalTests
# project_id = 123456 # project_id = 123456