diff options
author | makkalot <makkalot@gmail.com> | 2008-06-12 22:20:58 +0300 |
---|---|---|
committer | makkalot <makkalot@gmail.com> | 2008-06-12 22:20:58 +0300 |
commit | 0616b737922449af511bcf918f662c3e4f1c4f35 (patch) | |
tree | 67b99de09dd2a252238feb69c426ffbfd1b3c2f0 /funcweb/funcweb/tests/test_widget_automation.py | |
parent | 90b17c280e33a9feeda71962e9f82ef53f774879 (diff) | |
download | third_party-func-0616b737922449af511bcf918f662c3e4f1c4f35.tar.gz third_party-func-0616b737922449af511bcf918f662c3e4f1c4f35.tar.xz third_party-func-0616b737922449af511bcf918f662c3e4f1c4f35.zip |
adding a RemoteForm automation to our widget factory
Diffstat (limited to 'funcweb/funcweb/tests/test_widget_automation.py')
-rw-r--r-- | funcweb/funcweb/tests/test_widget_automation.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/funcweb/funcweb/tests/test_widget_automation.py b/funcweb/funcweb/tests/test_widget_automation.py index f841c43..5a2247d 100644 --- a/funcweb/funcweb/tests/test_widget_automation.py +++ b/funcweb/funcweb/tests/test_widget_automation.py @@ -4,7 +4,7 @@ from turbogears import testutil from funcweb.controllers import Root import cherrypy -from funcweb.widget_automation import WidgetListFactory +from funcweb.widget_automation import WidgetListFactory,RemoteFormAutomation cherrypy.root = Root() class TestWidgetListFactory(unittest.TestCase): @@ -44,7 +44,13 @@ class TestWidgetListFactory(unittest.TestCase): for argument_name in compare_with.keys(): assert hasattr(widget_list_object,argument_name) == True - #print getattr(widget_list_object,argument_name) + #print getattr(widget_list_object,argument_name) + + + def test_remote_form(self): + widget_list_object = self.widget_factory.get_widgetlist_object() + remote_form = RemoteFormAutomation(widget_list_object) + #print remote_form def get_test_default_args(self): return { |