summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/tests.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py
index 723348dd57..d15584955d 100644
--- a/bitbake/lib/toaster/toastergui/tests.py
+++ b/bitbake/lib/toaster/toastergui/tests.py
@@ -90,9 +90,13 @@ class ViewTests(TestCase):
90 90
91 self.assertTrue(PROJECT_NAME in [x["name"] for x in data["rows"]]) 91 self.assertTrue(PROJECT_NAME in [x["name"] for x in data["rows"]])
92 self.assertTrue("id" in data["rows"][0]) 92 self.assertTrue("id" in data["rows"][0])
93 self.assertTrue("projectLayersUrl" in data["rows"][0]) 93
94 self.assertTrue("projectPageUrl" in data["rows"][0]) 94 self.assertEqual(sorted(data["rows"][0]),
95 self.assertTrue("projectBuildsUrl" in data["rows"][0]) 95 ['bitbake_version_id', 'created', 'id',
96 'layersTypeAheadUrl', 'name', 'projectBuildsUrl',
97 'projectPageUrl', 'recipesTypeAheadUrl',
98 'release_id', 'short_description', 'updated',
99 'user_id'])
96 100
97 def test_typeaheads(self): 101 def test_typeaheads(self):
98 """Test typeahead ReST API""" 102 """Test typeahead ReST API"""