Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(21)  |  Derive(0)  |  Import(0)
Return the message with the specified ID and context.

:param id: the message ID
:param context: the message context, or ``None`` for no context

src/f/j/fjord-HEAD/vendor/packages/Babel/tests/messages/test_catalog.py   fjord(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/w/e/webapp-improved-HEAD/lib/babel/babel/messages/tests/catalog.py   webapp-improved(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/p/l/plexnet-HEAD/third_party/python/babel/messages/tests/catalog.py   plexnet(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/tests/messages/test_catalog.py   ZenPacks.zenoss.OpenStack(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/b/a/babel-HEAD/babel/messages/tests/catalog.py   babel(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/b/a/Babel-1.3/tests/messages/test_catalog.py   Babel(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')

src/b/a/Babel-CLDR-HEAD/babel/messages/tests/catalog.py   Babel-CLDR(Download)
        assert 'foo' not in cat
 
        message = cat.get('Foo', 'Menu')
        self.assertEqual('Voh', message.string)
        self.assertEqual(True, message.fuzzy)
        cat.update(tmpl)
        self.assertEqual(1, len(cat.obsolete))
        assert cat.get('Foo', 'Menu|File') is None
 
        message = cat.get('Foo', 'Menu|Edit')