Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tests/test_web_source.py

Issue 29465720: Issue 4970 - Document the library API of python-abp (Closed)
Patch Set: Improve the docstrings and help() behavior, shorten the README, add Development documentation and a… Created Oct. 10, 2017, 4:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_parser.py ('k') | tox.ini » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « tests/test_parser.py ('k') | tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld