diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tests.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index 85e27fe07c..7acf4bc31d 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py | |||
@@ -40,6 +40,7 @@ class ViewTests(TestCase): | |||
40 | bitbake_version=bbv) | 40 | bitbake_version=bbv) |
41 | self.project = Project.objects.create_project(name=PROJECT_NAME, | 41 | self.project = Project.objects.create_project(name=PROJECT_NAME, |
42 | release=release) | 42 | release=release) |
43 | |||
43 | layersrc = LayerSource.objects.create(sourcetype=LayerSource.TYPE_IMPORTED) | 44 | layersrc = LayerSource.objects.create(sourcetype=LayerSource.TYPE_IMPORTED) |
44 | self.priority = ReleaseLayerSourcePriority.objects.create(release=release, | 45 | self.priority = ReleaseLayerSourcePriority.objects.create(release=release, |
45 | layer_source=layersrc) | 46 | layer_source=layersrc) |
@@ -86,10 +87,10 @@ class ViewTests(TestCase): | |||
86 | 87 | ||
87 | self.assertEqual(sorted(data["rows"][0]), | 88 | self.assertEqual(sorted(data["rows"][0]), |
88 | ['bitbake_version_id', 'created', 'id', | 89 | ['bitbake_version_id', 'created', 'id', |
89 | 'layersTypeAheadUrl', 'name', 'projectBuildsUrl', | 90 | 'is_default', 'layersTypeAheadUrl', 'name', |
90 | 'projectPageUrl', 'recipesTypeAheadUrl', | 91 | 'num_builds', 'projectBuildsUrl', 'projectPageUrl', |
91 | 'release_id', 'short_description', 'updated', | 92 | 'recipesTypeAheadUrl', 'release_id', |
92 | 'user_id']) | 93 | 'short_description', 'updated', 'user_id']) |
93 | 94 | ||
94 | def test_typeaheads(self): | 95 | def test_typeaheads(self): |
95 | """Test typeahead ReST API""" | 96 | """Test typeahead ReST API""" |