def testStringToTupleConversion(self):
     testValues = { '1,2,3': (1,2,3),
                    '1,,2,,3': (1,2,3),
                    '': (),
                    ',c,c,c': (),
                    '(4,4,4)': (4,4,4),
                    '(0,0,0,0,)': (0,0,0,0),
                    }
     for s in testValues.keys():
         trueValue = testValues[s]
         t = UserConfigurator._instanceTypeStringToTuple(s);
         self.assertEqual(t, trueValue, 'incorrect value mapping: %s, %s, %s' % (s, t, trueValue))