Index: /main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_converters.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_converters.py	(revision 6267)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_converters.py	(revision 6268)
@@ -50,5 +50,10 @@
     ('Blue', u'blue'),
     )
-
+car_nums = SimpleWAeUPVocabulary(
+    ('None', 0),
+    ('One', 1),
+    ('Two', 2),
+    ('Three', 3),
+    )
 class IContact(Interface):
     """Sample interface for sample content type used here in tests.
@@ -80,4 +85,9 @@
         default = u'red',
         vocabulary = colors,
+        )
+    num_cars = schema.Choice(
+        title = u'Number of cars owned',
+        default = None,
+        vocabulary = car_nums,
         )
     @invariant
@@ -285,4 +295,12 @@
         self.assertEqual(err, [('fav_color', u'Invalid value')])
         assert contact.fav_color == u'red'
+        return
+
+    def test_non_string_choice(self):
+        # We can handle vocabs with non-string values
+        converter = IObjectConverter(IContact) # a converter to IContact
+        err, inv_err, contact = converter.applyRowData(
+            dict(num_cars='1'), 'contact')
+        assert contact.num_cars == 1
         return
 
