summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 29dd7fda77..9e6c46a253 100644
--- a/bitbake/lib/toaster/toastergui/tests.py
+++ b/bitbake/lib/toaster/toastergui/tests.py
@@ -32,6 +32,8 @@ from orm.models import Layer_Version, Recipe, Machine, ProjectLayer, Target
32from orm.models import CustomImageRecipe, ProjectVariable 32from orm.models import CustomImageRecipe, ProjectVariable
33from orm.models import Branch 33from orm.models import Branch
34 34
35import toastermain
36
35from toastergui.tables import SoftwareRecipesTable 37from toastergui.tables import SoftwareRecipesTable
36import json 38import json
37from bs4 import BeautifulSoup 39from bs4 import BeautifulSoup
@@ -40,6 +42,10 @@ import re
40PROJECT_NAME = "test project" 42PROJECT_NAME = "test project"
41CLI_BUILDS_PROJECT_NAME = 'Command line builds' 43CLI_BUILDS_PROJECT_NAME = 'Command line builds'
42 44
45# by default, tests are run in build mode; to run in analysis mode,
46# set this to False in individual test cases
47toastermain.settings.BUILD_MODE = True
48
43class ViewTests(TestCase): 49class ViewTests(TestCase):
44 """Tests to verify view APIs.""" 50 """Tests to verify view APIs."""
45 51