Skip to content

Commit

Permalink
[16.0][IMP] stock_barcodes_quality_control: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edescalona committed Feb 8, 2025
1 parent ba1df62 commit 3be876e
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ class TestCommonStockBarcodes(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.WizardQualityControl = cls.env["quality.control.validate.wizard"]
cls.WizardPicking = cls.env["wiz.stock.barcodes.read.picking"]
cls.wizard_control = cls.WizardQualityControl.create({})
cls.wizard_picking = cls.WizardPicking.create({})

def test_action_validate_quality_control(self):
with self.assertRaises(KeyError):
self.wizard_control.action_validate_quality_control()
self.assertFalse(self.wizard_picking.show_quantity_control())

0 comments on commit 3be876e

Please sign in to comment.