rtfm/dynamics/item/armour/generate.py [1045:1056]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        expect = f.read()
                    import unittest
                    unittest.TestCase().assertEqual(expect, content)
                else:
                    with open(current['file'], 'wt') as f:
                        f.write(content)
            current['rows'], current['base'], current['file'] = initialize(group)
            all_files.append(current['file'])
        else:
            # this is an item row
            attributes = {k: v for k, v in zip(header, [t.text_content().strip() for t in row])}
            attributes['name'] = re.sub(r'(\(.+\))', '', attributes['name']).strip()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



rtfm/dynamics/item/weapon/generate.py [1092:1103]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                        expect = f.read()
                    import unittest
                    unittest.TestCase().assertEqual(expect, content)
                else:
                    with open(current['file'], 'wt') as f:
                        f.write(content)
            current['rows'], current['base'], current['file'] = initialize(group)
            all_files.append(current['file'])
        else:
            # this is an item row
            attributes = {k: v for k, v in zip(header, [t.text_content().strip() for t in row])}
            attributes['name'] = re.sub(r'(\(.+\))', '', attributes['name']).strip()
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



