def test_event_feed_parser_returns_the_right_urls(self): actual = bsd.process_events_json(json_fixture('event_feed.json')) eq_('http://act.pih.org/page/event/detail/awarenessraisingevent/w2d', actual[0])
def test_event_feed_parser_returns_6_events(self): actual = bsd.process_events_json(json_fixture('event_feed.json')) eq_(6, len(actual))