def ean13(self, data, **kwargs):
        if not re.match(r'\d{13}', data):
            raise ValueError('EAN-13 symbology requires 13 digits of data; '
                    'got {:d} digits ("{!s}")'.format(len(data), data))
        barcode.validate_barcode_args(**kwargs)
        return self._ean13_impl(data, **kwargs)
Setup the UserUpdateViewTest TestCase
dataset/ETHPy150Open base4sistemas/pyescpos/escpos/impl/epson.py/GenericESCPOS.ean13--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_views.py/UserUpdateViewTest.setUp