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

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

src/l/i/liquidluck-HEAD/tests/test_writers_core.py   liquidluck(Download)
from liquidluck.writers.core import FileWriter, StaticWriter
from liquidluck.writers.core import YearWriter, TagWriter
from liquidluck.writers.core import CategoryWriter, CategoryFeedWriter
from liquidluck.options import settings, g
 
    def test_start(self):
        settings.site['prefix'] = ''
        writer = CategoryFeedWriter()
        writer.start()
        f = os.path.join(g.output_directory, 'work/feed.xml')
        assert os.path.exists(f)
 
        settings.site['prefix'] = 'blog'
        writer = CategoryFeedWriter()