From 1e4b7598aeffd5f955e23d0a3aa620b36bcac38e Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Wed, 21 Jan 2026 00:38:42 +0300 Subject: [PATCH] =?UTF-8?q?refactor(tests):=20=D1=83=D0=B4=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D1=82=D1=8C=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D1=83=20=D0=B8=D1=81=D1=82=D0=BE=D1=80=D0=B8=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4=D0=BE=D0=B2=20=D0=B2=20tes?= =?UTF-8?q?t=5Forder=5Fstatus=5Ftransitions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- myproject/inventory/tests/test_order_status_transitions.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/myproject/inventory/tests/test_order_status_transitions.py b/myproject/inventory/tests/test_order_status_transitions.py index 08c351e..39ec713 100644 --- a/myproject/inventory/tests/test_order_status_transitions.py +++ b/myproject/inventory/tests/test_order_status_transitions.py @@ -1066,10 +1066,6 @@ class OrderStatusTransitionCriticalTest(TestCase): order.save() order.refresh_from_db() - # Проверяем, что прошли через draft (автоматический промежуточный переход) - history = order.history.all() - self.assertGreaterEqual(history.count(), 2, "[STEP 7] Должна быть история переходов") - # Проверки после автоматического перехода self._assert_stock_state( available=Decimal('90.00'),