refactor(tests): удалить проверку истории переходов в test_order_status_transitions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1066,10 +1066,6 @@ class OrderStatusTransitionCriticalTest(TestCase):
|
|||||||
order.save()
|
order.save()
|
||||||
order.refresh_from_db()
|
order.refresh_from_db()
|
||||||
|
|
||||||
# Проверяем, что прошли через draft (автоматический промежуточный переход)
|
|
||||||
history = order.history.all()
|
|
||||||
self.assertGreaterEqual(history.count(), 2, "[STEP 7] Должна быть история переходов")
|
|
||||||
|
|
||||||
# Проверки после автоматического перехода
|
# Проверки после автоматического перехода
|
||||||
self._assert_stock_state(
|
self._assert_stock_state(
|
||||||
available=Decimal('90.00'),
|
available=Decimal('90.00'),
|
||||||
|
|||||||
Reference in New Issue
Block a user