Skip to content

Commit b74d13f

Browse files
Girish ShilamkarPrasanna Santhanam
authored andcommitted
CLOUDSTACK-2472: Fix unresolved reference to max_value
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 1736031 commit b74d13f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎test/integration/component/test_project_limits.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def test_01_project_limits(self):
193193
# Also, verify resource limits for the project are independent of
194194
# account resource limits
195195
# 3. Increase Projects Resources limits above domains limit. Verify
196-
# project can’t have more resources than domain level limit allows.
196+
# project can't have more resources than domain level limit allows.
197197
# 4. Create Resource more than its set limit for a project. Verify
198198
# resource allocation should fail giving proper message
199199

@@ -312,6 +312,7 @@ def test_01_project_limits(self):
312312
max=2
313313
)
314314
with self.assertRaises(Exception):
315+
max_value = 3
315316
self.debug(
316317
"Attempting to update project: %s resource limit to: %s" % (
317318
project.id,
@@ -321,7 +322,7 @@ def test_01_project_limits(self):
321322
update_resource_limit(
322323
self.apiclient,
323324
resource.resourcetype,
324-
max=3,
325+
max=max_value,
325326
projectid=project.id
326327
)
327328
return

0 commit comments

Comments
 (0)