mirror of https://github.com/patacrep/patacrep.git
Oliverpool
9 years ago
1 changed files with 0 additions and 15 deletions
@ -1,15 +0,0 @@ |
|||||
"""Fake plugin for test purposes.""" |
|
||||
|
|
||||
from patacrep.content import ContentItem, ContentList, validate_parser_argument |
|
||||
|
|
||||
class FakeContent(ContentItem): |
|
||||
"""Fake content.""" |
|
||||
|
|
||||
def file_entry(self): |
|
||||
return {'customzippedname:':''} |
|
||||
|
|
||||
def parse(keyword, argument, config): |
|
||||
return ContentList([FakeContent()]) |
|
||||
|
|
||||
CONTENT_PLUGINS = {'customzipedname': parse} |
|
||||
|
|
Loading…
Reference in new issue