Example #1
0
 def testShouldReturnNoneWhenThereIsNothingToBeFound(self):
     self.assertEquals(None, Feed.find('somthing'))
Example #2
0
 def testShouldFindOneFeed(self):
     self.feed.save()
     Feed(url='example.com').save()
     self.assertEquals('example.com', Feed.find('example.com').url)