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)
#!/usr/bin/env python
 
import os
from liquidluck.writers.core import PostWriter, PageWriter
from liquidluck.writers.core import ArchiveWriter, ArchiveFeedWriter
    def test_start(self):
        settings.site['prefix'] = ''
        writer = ArchiveFeedWriter()
        writer.start()
        f = os.path.join(g.output_directory, 'feed.xml')
        assert os.path.exists(f)
 
        settings.site['prefix'] = 'blog'
        writer = ArchiveFeedWriter()