Ejemplo n.º 1
0
 def setUp(self):
     self.feed = InvalidFeedFactory.build()
     delta = timedelta(hours=2)
     self.time_trashed = datetime.now() - delta
     self.already_trashed_feed = FeedFactory.build(trashed_at=self.time_trashed)
Ejemplo n.º 2
0
 def setUp(self):
     self.feed = FeedFactory.build()
Ejemplo n.º 3
0
 def test_feed_update_should_raise_error_on_unsaved_instances(self):
     feed = FeedFactory.build(source='some-feed-url')
     feed.updater.run()
Ejemplo n.º 4
0
 def setUp(self):
     self.parser = FeedParser(FeedFactory.build())