summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
Diffstat (limited to 'funcweb')
-rw-r--r--funcweb/funcweb/tests/test_widget_automation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/funcweb/funcweb/tests/test_widget_automation.py b/funcweb/funcweb/tests/test_widget_automation.py
index 90f60a2..36fc387 100644
--- a/funcweb/funcweb/tests/test_widget_automation.py
+++ b/funcweb/funcweb/tests/test_widget_automation.py
@@ -44,11 +44,11 @@ class TestWidgetListFactory(unittest.TestCase):
widget_list_object = self.widget_factory.get_widgetlist_object()
#not very efficient but works
#hash_widget_object should be a widgets.RepeatingFieldSet
- hash_widget_object = [h_obj for h_obj in widget_list_object if getattr(h_obj,'name')=='list_default'][0]
+ list_widget_object = [h_obj for h_obj in widget_list_object if getattr(h_obj,'name')=='list_default'][0]
- assert isinstance(hash_widget_object.fields[0],widgets.TextField) == True
- assert getattr(hash_widget_object.fields[0],'name') == 'listfield'
- assert getattr(hash_widget_object.fields[0],'label') == 'List Field'
+ assert isinstance(list_widget_object.fields[0],widgets.TextField) == True
+ assert getattr(list_widget_object.fields[0],'name') == 'listfield'
+ assert getattr(list_widget_object.fields[0],'label') == 'List Field'
def test_add_specialized_hash(self):