api: fix a test

This test name is a redefine of a test with the same name just above. Let's
find a unique name so both tests are ran.

Change-Id: I0c534e349e852fd6b30130646dcf1b5df0da02bb
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2013-02-11 17:27:19 +01:00
parent 3340461656
commit f17951cdf9

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"})