from mock import patch
import logging
import congressbot


@patch('congressbot.house_collection')
@patch('congressbot.Reddit')
def test_feed_parse(reddit_mock, house_mock):
    house_mock.find_one.return_value = False
    congressbot.parse()
    assert False

from mock import patch
import logging
import congressbot


@patch('congressbot.house_collection')
@patch('congressbot.Reddit')
def test_feed_parse(reddit_mock, house_mock):
    house_mock.find_one.return_value = False
    congressbot.parse()
    assert False

def test_google_feed():
    # Will need to be updated in the event of lasting world peace
    assert congressbot.find_news_stories('war')

Add test for google feed
Add test for google feed

  from mock import patch
  import logging
  import congressbot
  
  
  @patch('congressbot.house_collection')
  @patch('congressbot.Reddit')
  def test_feed_parse(reddit_mock, house_mock):
      house_mock.find_one.return_value = False
      congressbot.parse()
      assert False
  
+ def test_google_feed():
+     # Will need to be updated in the event of lasting world peace
+     assert congressbot.find_news_stories('war')
+ 
Add test for google feed
## Code Before:
from mock import patch
import logging
import congressbot


@patch('congressbot.house_collection')
@patch('congressbot.Reddit')
def test_feed_parse(reddit_mock, house_mock):
    house_mock.find_one.return_value = False
    congressbot.parse()
    assert False

## Instruction:
Add test for google feed
## Code After:
from mock import patch
import logging
import congressbot


@patch('congressbot.house_collection')
@patch('congressbot.Reddit')
def test_feed_parse(reddit_mock, house_mock):
    house_mock.find_one.return_value = False
    congressbot.parse()
    assert False

def test_google_feed():
    # Will need to be updated in the event of lasting world peace
    assert congressbot.find_news_stories('war')
