From 7277c23a740bf0d1879769cf3925f7792bfa05ba Mon Sep 17 00:00:00 2001 From: paj Date: Wed, 3 Nov 2010 17:03:13 +0000 Subject: [PATCH] Avoid spurious name= on SelectionList/SelectionTable [bug:76] --- tests/test_widgets.py | 16 ++++++++-------- tw2/forms/widgets.py | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/tests/test_widgets.py b/tests/test_widgets.py index 6ae855b..b5c2245 100644 --- a/tests/test_widgets.py +++ b/tests/test_widgets.py @@ -196,7 +196,7 @@ class TestMultipleSelectField(WidgetTest): class TestSelectionList(WidgetTest): widget = SelectionList attrs = {'css_class':'something', 'field_type':'test', 'options':(('a','1'), ('b', '2'), ('c', '3')), 'id':'something'} - expected = """