Merge "Make ROOTDIR determination more robust"

This commit is contained in:
Jenkins 2013-11-01 03:15:48 +00:00 committed by Gerrit Code Review
commit dca1d4259d
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ from keystoneclient.openstack.common import timeutils
from keystoneclient import utils
CLIENTDIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
ROOTDIR = os.path.dirname(CLIENTDIR)
TESTDIR = os.path.dirname(os.path.abspath(__file__))
ROOTDIR = os.path.normpath(os.path.join(TESTDIR, '..', '..'))
CERTDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'certs')
CMSDIR = os.path.join(ROOTDIR, 'examples', 'pki', 'cms')