Merge "api: fix a test"

This commit is contained in:
Jenkins 2013-02-12 00:29:54 +00:00 committed by Gerrit Code Review
commit cdfc202ce9

View File

@ -231,7 +231,7 @@ class TestListMeters(tests_api.TestBase):
"X-Tenant-Id": "project-id2"})
self.assertEquals(1, len(data['meters']))
def test_metaquery2_non_admin(self):
def test_metaquery2_non_admin_wrong_project(self):
data = self.get('/meters?metadata.tag=four.counter',
headers={"X-Roles": "Member",
"X-Tenant-Id": "project-666"})