tests.harvest_template_tests module#

Tests for scripts/harvest_template.py.

class tests.harvest_template_tests.TestHarvestRobot(*args, **kwargs)[source]#

Bases: CheckHostnameMixin, ScriptMainTestCase

Test HarvestRobot.

abstract_class = False#
code = 'cs'#
family = 'wikipedia'#
net = True#
site = True#
sites = {'wikipedia:cs': {'code': 'cs', 'family': 'wikipedia'}}#
test_handle_time()[source]#

Test handle_time method.

Test template_link_target static method.