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/e/d/Editra-0.7.20/tests/unittests/testSyntaxMgr.py   Editra(Download)
    def testSyntaxData(self):
        """Test getting the syntax data for all supported languages"""
        for ext in synextreg.GetFileExtensions():
            ftype = synextreg.ExtensionRegister().FileTypeFromExt(ext)
            data = self.mgr.GetSyntaxData(ext)

src/e/d/Editra-0.7.20/tests/unittests/testSyntaxExtReg.py   Editra(Download)
    def testGetFileExtensionsFunct(self):
        exts1 = self.reg.GetAllExtensions()
        exts2 = synextreg.GetFileExtensions()
        self.assertTrue(exts1 == exts2)