'Test that display names are "translated"'

def test_translated_names(self):

    func = (lambda t: t.upper())
    statobj = inputtypes.Status('queued', func)
    self.assertEqual(statobj.display_name, u'PROCESSING')
    statobj = inputtypes.Status('test', func)
    self.assertEqual(statobj.display_name, u'test')
    self.assertEqual(str(statobj), 'test')
    self.assertEqual(statobj.classname, 'test')
