diff options
author | Adam Hassick <ahassick@iol.unh.edu> | 2020-03-16 11:20:03 -0400 |
---|---|---|
committer | Adam Hassick <ahassick@iol.unh.edu> | 2020-03-16 11:21:40 -0400 |
commit | 064f145f218385a6401fa6be2ccbbc462e915c26 (patch) | |
tree | 5251c49da0d79621436f8c72a5fa5d2b4a8e8c98 /src/dashboard | |
parent | b360e0e417f787e0266268596d630b87e88283d1 (diff) |
Test resource templates now use the same lab as the image generated alongside it.
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd
Diffstat (limited to 'src/dashboard')
-rw-r--r-- | src/dashboard/testing_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dashboard/testing_utils.py b/src/dashboard/testing_utils.py index 01bb9c2..506e998 100644 --- 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) |