Skip to content

Commit

Permalink
fixed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
HurinHu committed Aug 21, 2020
1 parent e3af413 commit 407815b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testSearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def testResultNumberWithTwoPages(self):
print('Result length with two pages is correct')

def testEncode(self):
googlenews = GoogleNews(encode='cp1251')
googlenews = GoogleNews(encode='utf-8')
googlenews.search("Моцарт")
length = len(googlenews.result())
self.assertNotEqual(length, 0)
Expand Down

0 comments on commit 407815b

Please sign in to comment.