Fixed codestyle in test_ckanharvester.py

This commit is contained in:
Ken Tsang 2019-03-18 11:12:58 +00:00
parent 95e6e934ac
commit dfc147e6d7
1 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ from nose.tools import assert_equal, assert_raises, assert_in
import json
from mock import patch, MagicMock, Mock
from requests.exceptions import HTTPError, RequestException
import unittest
try:
from ckan.tests.helpers import reset_db, call_action
@ -341,7 +340,6 @@ class TestCkanHarvester(object):
assert_in('default_extras must be a dictionary',
str(harvest_context.exception))
@patch('ckanext.harvest.harvesters.ckanharvester.pyopenssl.inject_into_urllib3')
@patch('ckanext.harvest.harvesters.ckanharvester.CKANHarvester.config')
@patch('ckanext.harvest.harvesters.ckanharvester.requests.get', side_effect=RequestException('Test exception'))