Merge "Add missing suffix-related docstrings"
This commit is contained in:
commit
f22ff1926e
|
@ -462,6 +462,8 @@ def _allocation_request_for_provider(ctx, requested_resources, provider,
|
|||
being requested for that resource class
|
||||
:param provider: ResourceProvider object representing the provider of the
|
||||
resources.
|
||||
:param suffix: The suffix of the RequestGroup these resources are
|
||||
satisfying.
|
||||
"""
|
||||
resource_requests = [
|
||||
AllocationRequestResource(
|
||||
|
|
|
@ -902,6 +902,9 @@ class AllocationCandidatesTestCase(tb.PlacementDbBaseTestCase):
|
|||
...
|
||||
]
|
||||
:param candidates: The result from AllocationCandidates.get_by_requests
|
||||
:param expect_suffix: If True, validate the RequestGroup suffix in the
|
||||
results, found as a 4th member of the tuple
|
||||
described above.
|
||||
"""
|
||||
# Extract/convert allocation requests from candidates
|
||||
observed = []
|
||||
|
|
Loading…
Reference in New Issue