# HG changeset patch # User Martin Bornhold # Date 2016-08-09 14:34:03 # Node ID 47f28cf8698e819e9cd59717d504dca3a0d63213 # Parent b60476548538ebe56623edcf270bd474327a764b tests: Adapt tests to recent changes. diff --git a/rhodecode/tests/lib/middleware/utils/test_scm_app_http.py b/rhodecode/tests/lib/middleware/utils/test_scm_app_http.py --- a/rhodecode/tests/lib/middleware/utils/test_scm_app_http.py +++ b/rhodecode/tests/lib/middleware/utils/test_scm_app_http.py @@ -33,7 +33,7 @@ def vcs_http_app(vcsserver_http_echo_app """ git_url = vcsserver_http_echo_app.http_url + 'stream/git/' vcs_http_proxy = scm_app_http.VcsHttpProxy( - git_url, 'stub_path', 'stub_name', None) + git_url, 'stub_path', 'stub_name', None, 'stub_backend') app = webtest.TestApp(vcs_http_proxy) return app diff --git a/rhodecode/tests/lib/middleware/utils/test_scm_app_http_chunking.py b/rhodecode/tests/lib/middleware/utils/test_scm_app_http_chunking.py --- a/rhodecode/tests/lib/middleware/utils/test_scm_app_http_chunking.py +++ b/rhodecode/tests/lib/middleware/utils/test_scm_app_http_chunking.py @@ -133,4 +133,4 @@ def create_scm_app(): """ echo_app_url = os.environ["RC_ECHO_URL"] return scm_app_http.VcsHttpProxy( - echo_app_url, 'stub_path', 'stub_name', None) + echo_app_url, 'stub_path', 'stub_name', None, 'stub_backend')