Demurrage

This commit is contained in:
2026-06-04 09:41:08 +02:00
parent 0efa60f3b5
commit e9bd6ff57f
2 changed files with 5 additions and 0 deletions

View File

@@ -152,6 +152,10 @@ class PurchaseTradeTestCase(ModuleTestCase):
self.assertEqual(rate.basis, 'per_day')
def test_charter_condition_rate_basis_includes_pumping_unit(self):
'charter condition rates expose a clear pumping throughput unit'
self.assertIn(('mt_per_hour', 'MT/hour'), stock_module.RATE_BASIS)
@with_transaction()
def test_charter_condition_role_defaults_from_context(self):
'charter condition role defaults to the business source context'