flexget.plugins.input.mock module#
Plugin for mocking task data.
- class flexget.plugins.input.mock.Mock[source]#
Bases:
objectAllows adding mock input entries.
Example:
mock: - {title: foobar, url: http://some.com } - {title: mock, url: http://another.com } - Title Only
If url is not given a random url pointing to localhost will be generated.
- schema = {'items': {'oneOf': [{'type': 'string'}, {'properties': {'title': {'type': 'string'}, 'url': {'type': 'string'}}, 'required': ['title'], 'type': 'object'}]}, 'type': 'array'}#