| Index: tests/test_web_source.py |
| =================================================================== |
| --- a/tests/test_web_source.py |
| +++ b/tests/test_web_source.py |
| @@ -20,17 +20,17 @@ |
| try: |
| from StringIO import StringIO |
| from urllib2 import HTTPError |
| except ImportError: # The modules were renamed/moved in Python 3. |
| from io import BytesIO as StringIO |
| from urllib.error import HTTPError |
| -from abp.filters import WebSource, NotFound |
| +from abp.filters.sources import WebSource, NotFound |
| @pytest.fixture |
| def web_mock(request): |
| """Replace urlopen with our test implementation.""" |
| patcher = mock.patch('abp.filters.sources.urlopen') |
| ret = patcher.start() |
| request.addfinalizer(patcher.stop) |