

def test_immediate(self):
    msg = self.trans_fixture.immediate('this is a lazy message')
    self.assertNotIsInstance(msg, _message.Message)
    self.assertIsInstance(msg, six.text_type)
    self.assertEqual(msg, 'this is a lazy message')

dataset/ETHPy150Open openstack/oslo.i18n/oslo_i18n/tests/test_fixture.py TranslationFixtureTest.test_immediate/original