From 836605097f40e10ec4e600eca9a1b9809473b9c6 Mon Sep 17 00:00:00 2001 From: David Read Date: Mon, 13 Jun 2016 10:12:30 +0000 Subject: [PATCH] Fix test_queue2 tests --- setup.py | 1 + test-core.ini | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3604e58..ae33712 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ setup( ckan_harvester=ckanext.harvest.harvesters:CKANHarvester [ckan.test_plugins] test_harvester=ckanext.harvest.tests.test_queue:MockHarvester + test_harvester2=ckanext.harvest.tests.test_queue2:MockHarvester test_action_harvester=ckanext.harvest.tests.test_action:MockHarvesterForActionTests [paste.paster_command] harvester = ckanext.harvest.commands.harvester:Harvester diff --git a/test-core.ini b/test-core.ini index b736803..d18bebc 100644 --- a/test-core.ini +++ b/test-core.ini @@ -15,7 +15,7 @@ port = 5000 use = config:../ckan/test-core.ini # Here we hard-code the database and a flag to make default tests # run fast. -ckan.plugins = harvest ckan_harvester test_harvester test_action_harvester +ckan.plugins = harvest ckan_harvester test_harvester test_harvester2 test_action_harvester ckan.harvest.mq.type = redis ckan.legacy_templates = false # NB: other test configuration should go in test-core.ini, which is