X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trash%2Fpluginview.py;h=efc353b9ebbb5081df4b225762582e9f57c7f18a;hb=40b1d29c1699a5a04387c0e70e4c42c226a8f14d;hp=efac7801375514aef42a94661f1777444528a61c;hpb=bdc9578767df176902d19e6d94e1aacf6ef921a9;p=myslice.git diff --git a/trash/pluginview.py b/trash/pluginview.py index efac7801..efc353b9 100644 --- a/trash/pluginview.py +++ b/trash/pluginview.py @@ -35,7 +35,7 @@ def test_plugin_view (request): main_query = ManifoldQuery (action='get', subject='resource', timestamp='latest', - fields=['network','type','hrn','hostname'], + fields=['network','type','hrn','hostname','sliver'], filters= [ [ 'slice_hrn', '=', slicename, ] ], ) # without an hazelnut, this would use use : run_it=False as nothing would listen to the results @@ -51,7 +51,7 @@ def test_plugin_view (request): sons=[ \ Updater ( page=page, - title="Update me", + title="wont show up as non togglable by default", query=main_query, label="Update me", domid="the-updater", @@ -59,16 +59,17 @@ def test_plugin_view (request): # make sure the 2 things work together Hazelnut ( page=page, - title="Checkboxes should impact updater", + title="Slice %s - checkboxes interacting w/ updater"%slicename, query=main_query, domid="hazelnut", + checkboxes=True, ), Messages ( - page=page, - title="Runtime messages", - domid="msgs-pre", - levels='ALL', - ), + page=page, + title="Runtime messages", + domid="msgs-pre", + levels='ALL', + ), ]) # define 'unfold1_main' to the template engine