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

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

src/p/y/pycogent-HEAD/tests/test_parse/test_pknotsrg.py   pycogent(Download)
#!/usr/bin/env python
 
from cogent.util.unit_test import TestCase, main
from cogent.core.info      import Info
from cogent.parse.pknotsrg import pknotsrg_parser
    def test_pknotsrg_output(self):
        """Test for pknotsrg format parser"""
 
        obs = pknotsrg_parser(self.pknotsrg_out)
        self.assertEqual(obs,self.pknotsrg_exp)

src/c/o/cogent-1.5.3/tests/test_parse/test_pknotsrg.py   cogent(Download)
#!/usr/bin/env python
 
from cogent.util.unit_test import TestCase, main
from cogent.core.info      import Info
from cogent.parse.pknotsrg import pknotsrg_parser
    def test_pknotsrg_output(self):
        """Test for pknotsrg format parser"""
 
        obs = pknotsrg_parser(self.pknotsrg_out)
        self.assertEqual(obs,self.pknotsrg_exp)