Exemplo n.º 1
0
 def test_updated_dict(self):
     heather_raw = "./fixtures/HeatherPiwowar_070914.json"
     heather_json = open(heather_raw)
     raw_dict = json.load(heather_json)
     product_list = raw_dict.get('products', [])
     ImpactStory._updated_dict(self.heather, product_list)
     self.assertFalse(self.heather._new_attributes)