|
@ -5,16 +5,10 @@ from patacrep.content import ContentItem, ContentList, validate_parser_argument |
|
|
class FakeContent(ContentItem): |
|
|
class FakeContent(ContentItem): |
|
|
"""Fake content.""" |
|
|
"""Fake content.""" |
|
|
|
|
|
|
|
|
def render(self, __context): |
|
|
|
|
|
return 'fakecontent' |
|
|
|
|
|
|
|
|
|
|
|
def file_entry(self): |
|
|
def file_entry(self): |
|
|
return {'customname:':''} |
|
|
return {'customname:':''} |
|
|
|
|
|
|
|
|
#pylint: disable=unused-argument |
|
|
|
|
|
def parse(keyword, argument, config): |
|
|
def parse(keyword, argument, config): |
|
|
""" |
|
|
|
|
|
""" |
|
|
|
|
|
return ContentList([FakeContent()]) |
|
|
return ContentList([FakeContent()]) |
|
|
|
|
|
|
|
|
CONTENT_PLUGINS = {'customname': parse} |
|
|
CONTENT_PLUGINS = {'customname': parse} |
|
|