[FIX] barcodes_gs1_nomenclature: deduplicate tests
When inheriting from a test class having tests methods, the tests are played twice. In this particular case, the inheritance was not necessary at all. closes odoo/odoo#150287 X-original-commit: 839fa009f3f032cb45c56acfe237933bf0fb69c9 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from odoo.addons.barcodes.tests.test_barcode_nomenclature import TestBarcodeNomenclature
|
||||
from odoo.exceptions import ValidationError
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
|
||||
class TestBarcodeGS1Nomenclature(TestBarcodeNomenclature):
|
||||
class TestBarcodeGS1Nomenclature(TransactionCase):
|
||||
def test_gs1_date_to_date(self):
|
||||
barcode_nomenclature = self.env['barcode.nomenclature']
|
||||
# 20/10/2015 -> 151020
|
||||
|
||||
Reference in New Issue
Block a user