diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/tests.py b/bitbake/lib/toaster/toastergui/tests.py index 8a59af46ef..39586e0d24 100644 --- a/bitbake/lib/toaster/toastergui/tests.py +++ b/bitbake/lib/toaster/toastergui/tests.py | |||
@@ -34,13 +34,13 @@ class AllProjectsViewTestCase(ProvisionedProjectTestCase): | |||
34 | 34 | ||
35 | self.assertTrue("error" in data) | 35 | self.assertTrue("error" in data) |
36 | self.assertEqual(data["error"], "ok") | 36 | self.assertEqual(data["error"], "ok") |
37 | self.assertTrue("list" in data) | 37 | self.assertTrue("rows" in data) |
38 | 38 | ||
39 | self.assertTrue(AllProjectsViewTestCase.TEST_PROJECT_NAME in map(lambda x: x["name"], data["list"])) | 39 | self.assertTrue(AllProjectsViewTestCase.TEST_PROJECT_NAME in map(lambda x: x["name"], data["rows"])) |
40 | self.assertTrue("id" in data["list"][0]) | 40 | self.assertTrue("id" in data["rows"][0]) |
41 | self.assertTrue("projectLayersUrl" in data["list"][0]) | 41 | self.assertTrue("projectLayersUrl" in data["rows"][0]) |
42 | self.assertTrue("projectPageUrl" in data["list"][0]) | 42 | self.assertTrue("projectPageUrl" in data["rows"][0]) |
43 | self.assertTrue("projectBuildsUrl" in data["list"][0]) | 43 | self.assertTrue("projectBuildsUrl" in data["rows"][0]) |
44 | 44 | ||
45 | class ProvisionedLayersProjectTestCase(ProvisionedProjectTestCase): | 45 | class ProvisionedLayersProjectTestCase(ProvisionedProjectTestCase): |
46 | LAYER_NAME = "base-layer" | 46 | LAYER_NAME = "base-layer" |