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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/r/archetypes.linguakeywordwidget-1.1/archetypes/linguakeywordwidget/tests/test_linguakeyword.py   archetypes.linguakeywordwidget(Download)
                                              field.accessor,
                                              'portal_catalog')
        self.assertEqual(len(keywords), 2)
        self.assertIn('tag 1', keywords)
        self.assertIn('tag 2', keywords)
 
    def test_getLinguaKeywordsFromValues(self):
        value = ('en-tag 1', 'en-tag 2')
        keywords = self.portal.getLinguaKeywordsFromValue(value)
        self.assertEqual(len(keywords), 2)