Beispiel #1
0
    def setUp(self):
        raw_json = open("./fixtures/HeatherPiwowar_070914.json")
        raw_dict = json.load(raw_json)
        product_list = raw_dict.get("products")
        self.p = Product(product_list[0])

        #Change to assertEqual unittest
        '''
Beispiel #2
0
    def test__parse_product_bib(self):
        bib = self.p._bib_info
        Product._parse_product_bib(self.p, bib)

        #Change to assertEqual unittest
        '''
Beispiel #3
0
    def test__parse_aliases(self):
        aliases = self.p.aliases
        Product._parse_aliases(self.p, aliases)

        #Change to assertEqual unittest
        '''