commit | e5d2083483cfb6afdc0324dcc7e88ecb7c10c1b1 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Fri Aug 01 22:25:40 2014 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Aug 01 22:25:40 2014 +0000 |
tree | 11ad661440a958f35ccf9b9675fa11af6a1d68ad | |
parent | 7eefef6125b07a44851823a02a75853937dcb377 [diff] | |
parent | 5a2cb4586d99229f8496584094b7ab8102023c7a [diff] |
Merge "Fix skip_path logic if path part is empty"
diff --git a/tempest/auth.py b/tempest/auth.py index 6dad3a4..5df6224 100644 --- a/tempest/auth.py +++ b/tempest/auth.py
@@ -331,7 +331,7 @@ if noversion_path != "": path += "/" + noversion_path _base_url = _base_url.replace(parts.path, path) - if filters.get('skip_path', None) is not None: + if filters.get('skip_path', None) is not None and parts.path != '': _base_url = _base_url.replace(parts.path, "/") return _base_url