summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/api.py
diff options
context:
space:
mode:
authorAndreea Proca <andreea.b.proca@intel.com>2014-01-14 16:01:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-27 21:01:05 +0000
commitbaaab36f41636e571d021dba5496c29d2224937c (patch)
tree814d90e1c9d54c8e0b228c61ad5a9253c253591c /bitbake/lib/toaster/bldviewer/api.py
parentb0b1acbe623c1c126af2abc1cc332d993dcaf15c (diff)
downloadpoky-baaab36f41636e571d021dba5496c29d2224937c.tar.gz
bitbake: toaster: Add initial tests
This adds the initial api tests for toaster, using Django's unittest modules. (Bitbake rev: daf9a61fbf69a46b7afd781a6175b05b05fd452f) Signed-off-by: Andreea Proca <andreea.b.proca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/api.py')
-rw-r--r--bitbake/lib/toaster/bldviewer/api.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldviewer/api.py b/bitbake/lib/toaster/bldviewer/api.py
index 596e6a93c6..654864e1e8 100644
--- a/bitbake/lib/toaster/bldviewer/api.py
+++ b/bitbake/lib/toaster/bldviewer/api.py
@@ -27,10 +27,11 @@ urlpatterns = patterns('bldviewer.views',
27 url(r'^targets$', 'model_explorer', {'model_name':'target'}, name='targets'), 27 url(r'^targets$', 'model_explorer', {'model_name':'target'}, name='targets'),
28 url(r'^tasks$', 'model_explorer', {'model_name':'task'}, name='task'), 28 url(r'^tasks$', 'model_explorer', {'model_name':'task'}, name='task'),
29 url(r'^task_dependencies$', 'model_explorer', {'model_name':'task_dependency'}, name='task_dependencies'), 29 url(r'^task_dependencies$', 'model_explorer', {'model_name':'task_dependency'}, name='task_dependencies'),
30 url(r'^packages$', 'model_explorer', {'model_name':'build_package'}, name='build_packages'), 30 url(r'^packages$', 'model_explorer', {'model_name':'package'}, name='package'),
31 url(r'^package_dependencies$', 'model_explorer', {'model_name':'build_package_dependency'}, name='build_package_dependencies'), 31 url(r'^package_dependencies$', 'model_explorer', {'model_name':'package_dependency'}, name='package_dependency'),
32 url(r'^target_packages$', 'model_explorer', {'model_name':'target_package'}, name='target_packages'), 32 url(r'^target_packages$', 'model_explorer', {'model_name':'target_package'}, name='target_packages'),
33 url(r'^package_files$', 'model_explorer', {'model_name':'build_file'}, name='build_files'), 33 url(r'^target_installed_packages$', 'model_explorer', {'model_name':'target_installed_package'}, name='target_installed_package'),
34 url(r'^package_files$', 'model_explorer', {'model_name':'build_file'}, name='build_file'),
34 url(r'^layers$', 'model_explorer', {'model_name':'layer'}, name='layer'), 35 url(r'^layers$', 'model_explorer', {'model_name':'layer'}, name='layer'),
35 url(r'^layerversions$', 'model_explorer', {'model_name':'layerversion'}, name='layerversion'), 36 url(r'^layerversions$', 'model_explorer', {'model_name':'layerversion'}, name='layerversion'),
36 url(r'^recipes$', 'model_explorer', {'model_name':'recipe'}, name='recipe'), 37 url(r'^recipes$', 'model_explorer', {'model_name':'recipe'}, name='recipe'),