@classmethod
def setUpClass(cls):
    'Define base_file and original_content.'
    super(OpenArchiveWriteTestCase, cls).setUpClass()
    cls.base_file = join_xml_data_path('article-pyrus.xml')
    with open(cls.base_file, 'rb') as f:
        cls.original_content = f.read().replace(b'\r\n', b'\n')
Define base_file and original_content.
@classmethod
def setUpClass(cls):
    
    super(OpenArchiveWriteTestCase, cls).setUpClass()
    cls.base_file = join_xml_data_path('article-pyrus.xml')
    with open(cls.base_file, 'rb') as f:
        cls.original_content = f.read().replace(b'\r\n', b'\n')