Fix tests

This commit is contained in:
Ordanis Sanchez
2018-09-18 17:10:34 -04:00
committed by Alessandro Romano
parent b769fc3dac
commit 36a647e6ea
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -7,7 +7,6 @@ session = HTMLSession()
def test_pagination():
pages = (
'https://xkcd.com/1957/',
'https://reddit.com/',
'https://smile.amazon.com/',
'https://theverge.com/archives'
)
@@ -22,7 +21,6 @@ async def test_async_pagination(event_loop):
asession = AsyncHTMLSession()
pages = (
'https://xkcd.com/1957/',
'https://reddit.com/',
'https://smile.amazon.com/',
'https://theverge.com/archives'
)
+1 -1
View File
@@ -79,7 +79,7 @@ def test_containing():
r = get()
python = r.html.find(containing='python')
assert len(python) == 191
assert len(python) == 192
for e in python:
assert 'python' in e.full_text.lower()