Code Review
/
laas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b360e0e
)
Test resource templates now use the same lab as the image generated alongside it.
92/69792/1
author
Adam Hassick
<ahassick@iol.unh.edu>
Mon, 16 Mar 2020 15:20:03 +0000
(11:20 -0400)
committer
Adam Hassick
<ahassick@iol.unh.edu>
Mon, 16 Mar 2020 15:21:40 +0000
(11:21 -0400)
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd
src/dashboard/testing_utils.py
patch
|
blob
|
history
diff --git
a/src/dashboard/testing_utils.py
b/src/dashboard/testing_utils.py
index
01bb9c2
..
506e998
100644
(file)
--- a/
src/dashboard/testing_utils.py
+++ b/
src/dashboard/testing_utils.py
@@
-122,7
+122,7
@@
def make_resource_config(template, profile=None, image=None):
profile = make_resource_profile(lab=template.lab)
if image is None:
- image = make_image(profile)
+ image = make_image(profile
, lab=template.lab
)
return ResourceConfiguration.objects.create(profile=profile, image=image, template=template)