示例#1
0
	def getNewsSummariesForUserWithKeyword(self, user_id, page_num, keyword):
		return operations.getNewsSummariesForUserWithKeyword(user_id, page_num, keyword)
示例#2
0
def test_getNewsSummariesForUserWithKeyword():
    news = operations.getNewsSummariesForUserWithKeyword(
        'test', 1, "trump lawyer")  # with %20 in reality

    assert len(news) > 0
    print news