From c8998d426cbf12afb2d2e68059e0969388b50c95 Mon Sep 17 00:00:00 2001 From: Adam Hassick Date: Mon, 16 Mar 2020 11:20:03 -0400 Subject: Test resource templates now use the same lab as the image generated alongside it. Signed-off-by: Adam Hassick Change-Id: I22ce80b4d162dd31dc3bd2ff2bd7ee30d474a0dd (cherry picked from commit 064f145f218385a6401fa6be2ccbbc462e915c26) --- src/dashboard/testing_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dashboard/testing_utils.py') 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) -- cgit 1.2.3-korg