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

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

src/l/i/liquidluck-HEAD/tests/test_readers.py   liquidluck(Download)
from liquidluck.readers.base import BaseReader, Post
from liquidluck.readers.markdown import MarkdownReader
from liquidluck.readers.restructuredtext import RestructuredTextReader
 
ROOT = os.path.abspath(os.path.dirname(__file__))
    def setUp(self):
        path = os.path.join(ROOT, 'source/post/demo-rst-1.rst')
        self.reader = RestructuredTextReader(path)
        self.post = self.reader.render()