def test_includeSoftware(self):
     software = Software(1,"name","text","downloadUrl","applicationSubCategory")
     software.imageList = [Image("teste")]
     software.LinkList = [Link("teste")]
     software.screenshotList = [Screenshot("teste")]
     software.review = Review("teste",1)
     self.sDao.includeSoftware(software)
def parseHtmlToObject(item):
  software = Software(1,str(item.name), item.text, str(item.downloadUrl), str(item.applicationSubCategory))
  images = []
  for image in item.get_all('image') :
    images.append(Image(str(image)))
  software.imageList = images
  
  screenshots = []
  for screenshot in item.get_all('screenshot') :
    screenshots.append(Screenshot(str(screenshot)))
  software.screenshotList=screenshots
  
  urls = []
  for url in item.get_all('url') :
    urls.append(Link(str(url)))
  software.linkList=urls
  
  software.review = Review(item.review.reviewBody,item.review.ratingValue)
  return software