From 4cde888be604d13063077762e2159f8088addcfe Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Mar 2022 23:59:50 +0200 Subject: [PATCH] fix docstrings --- InvenTree/order/test_migrations.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/InvenTree/order/test_migrations.py b/InvenTree/order/test_migrations.py index 5516a733c5..3a030587e1 100644 --- a/InvenTree/order/test_migrations.py +++ b/InvenTree/order/test_migrations.py @@ -184,10 +184,9 @@ class TestAdditionalLineMigration(MigratorTestCase): received=1 ) - - def test_ref_field(self): + def test_po_migration(self): """ - Test that the 'reference_int' field has been created and is filled out correctly + Test that the the PO lines where converted correctly """ PurchaseOrder = self.new_state.apps.get_model('order', 'purchaseorder') @@ -196,7 +195,5 @@ class TestAdditionalLineMigration(MigratorTestCase): po = PurchaseOrder.objects.get(reference=f"{ii}-abcde") - # The integer reference field must have been correctly updated self.assertEqual(po.extra_lines.count(), 1) self.assertEqual(po.lines.count(), 1) -