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