'Format string interpolation should work with *_lazy objects.'

def test_lazy_objects(self):

    s = ugettext_lazy('Add    %(name)s')
    d = {'name': 'Ringo'}
    self.assertEqual(u'Add    Ringo', (s % d))
    activate('de')
    try:
        self.assertEqual(u'Ringo    hinzuf\xfcgen', (s % d))
        activate('pl')
        self.assertEqual(u'Dodaj    Ringo', (s % d))
    finally:
        deactivate()
    s1 = ugettext_lazy('Add    %(name)s')
    self.assertEqual(True, (s == s1))
    s2 = gettext_lazy('Add    %(name)s')
    s3 = gettext_lazy('Add    %(name)s')
    self.assertEqual(True, (s2 == s3))
    self.assertEqual(True, (s == s2))
    s4 = ugettext_lazy('Some    other    string')
    self.assertEqual(False, (s == s4))
