diff options
| author | Jesse Andrews <anotherjesse@gmail.com> | 2011-12-18 22:08:26 -0800 |
|---|---|---|
| committer | Jesse Andrews <anotherjesse@gmail.com> | 2011-12-18 22:08:26 -0800 |
| commit | d37c20ca72fbcdb929601b8af1ef8fedd76e1afd (patch) | |
| tree | d9764ce7dec6e943220c9eebd6f5bfa09450397d /tests/utils.py | |
| parent | 604b748b517f61da29fa3b9e572fdade3bbaa803 (diff) | |
| download | python-keystoneclient-d37c20ca72fbcdb929601b8af1ef8fedd76e1afd.tar.gz | |
remove X-Auth-Project-Id, re-add auth by token support (most tests pass)
Diffstat (limited to 'tests/utils.py')
| -rw-r--r-- | tests/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index bf20e21..6bdbb2d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -8,7 +8,7 @@ from keystoneclient.v2_0 import client class TestCase(unittest.TestCase): - TEST_TENANT = '1' + TEST_TENANT_ID = '1' TEST_TENANT_NAME = 'aTenant' TEST_TOKEN = 'aToken' TEST_USER = 'test' @@ -70,7 +70,7 @@ class TestCase(unittest.TestCase): httplib2.Http.request = self.mox.CreateMockAnything() self.client = client.Client(username=self.TEST_USER, token=self.TEST_TOKEN, - project_id=self.TEST_TENANT, + tenant_name=self.TEST_TENANT_ID, auth_url=self.TEST_URL, endpoint=self.TEST_URL) |
