Merge "Fix wrong docstring by copy-paste"

This commit is contained in:
Jenkins 2015-04-16 10:09:33 +00:00 committed by Gerrit Code Review
commit c23bfae287
2 changed files with 5 additions and 5 deletions

View File

@ -2098,7 +2098,7 @@ class TestGlanceAPI(base.IsolatedUnitTest):
def test_get_index_sort_name_asc(self): def test_get_index_sort_name_asc(self):
""" """
Tests that the /images registry API returns list of Tests that the /images API returns list of
public images sorted alphabetically by name in public images sorted alphabetically by name in
ascending order. ascending order.
""" """
@ -2139,8 +2139,8 @@ class TestGlanceAPI(base.IsolatedUnitTest):
def test_get_details_filter_changes_since(self): def test_get_details_filter_changes_since(self):
""" """
Tests that the /images/detail registry API returns list of Tests that the /images/detail API returns list of
public images that have a size less than or equal to size_max images that changed since the time defined by changes-since
""" """
dt1 = timeutils.utcnow() - datetime.timedelta(1) dt1 = timeutils.utcnow() - datetime.timedelta(1)
iso1 = timeutils.isotime(dt1) iso1 = timeutils.isotime(dt1)
@ -2860,7 +2860,7 @@ class TestGlanceAPI(base.IsolatedUnitTest):
def test_get_details_invalid_marker(self): def test_get_details_invalid_marker(self):
""" """
Tests that the /images/detail registry API returns a 400 Tests that the /images/detail API returns a 400
when an invalid marker is provided when an invalid marker is provided
""" """
req = webob.Request.blank('/images/detail?marker=%s' % _gen_uuid()) req = webob.Request.blank('/images/detail?marker=%s' % _gen_uuid())

View File

@ -946,7 +946,7 @@ class TestRegistryAPI(base.IsolatedUnitTest, test_utils.RegistryAPIMixIn):
def test_get_details_filter_changes_since(self): def test_get_details_filter_changes_since(self):
""" """
Tests that the /images/detail registry API returns list of Tests that the /images/detail registry API returns list of
public images that have a size less than or equal to size_max images that changed since the time defined by changes-since
""" """
dt1 = timeutils.utcnow() - datetime.timedelta(1) dt1 = timeutils.utcnow() - datetime.timedelta(1)
iso1 = timeutils.isotime(dt1) iso1 = timeutils.isotime(dt1)