summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
index 39b0e207fc..1c627ad498 100644
--- a/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
+++ b/bitbake/lib/toaster/tests/browser/test_builddashboard_page_artifacts.py
@@ -26,7 +26,7 @@ from tests.browser.selenium_helpers import SeleniumTestCase
26 26
27from orm.models import Project, Release, BitbakeVersion, Build, Target, Package 27from orm.models import Project, Release, BitbakeVersion, Build, Target, Package
28from orm.models import Target_Image_File, TargetSDKFile, TargetKernelFile 28from orm.models import Target_Image_File, TargetSDKFile, TargetKernelFile
29from orm.models import Target_Installed_Package 29from orm.models import Target_Installed_Package, Variable
30 30
31class TestBuildDashboardPageArtifacts(SeleniumTestCase): 31class TestBuildDashboardPageArtifacts(SeleniumTestCase):
32 """ Tests for artifacts on the build dashboard /build/X """ 32 """ Tests for artifacts on the build dashboard /build/X """
@@ -151,6 +151,11 @@ class TestBuildDashboardPageArtifacts(SeleniumTestCase):
151 started_on=now, completed_on=timezone.now(), 151 started_on=now, completed_on=timezone.now(),
152 outcome=Build.SUCCEEDED) 152 outcome=Build.SUCCEEDED)
153 153
154 # add a variable to the build so that it counts as "started"
155 Variable.objects.create(build=build,
156 variable_name='Christopher',
157 variable_value='Lee')
158
154 target = Target.objects.create(is_image=True, build=build, 159 target = Target.objects.create(is_image=True, build=build,
155 task='', target='core-image-minimal', 160 task='', target='core-image-minimal',
156 license_manifest_path='/home/foo/license.manifest', 161 license_manifest_path='/home/foo/license.manifest',