|
|
@@ -639,3 +639,11 @@ def test_upsert_remounts_monthly_plan_when_partner_changes(
|
|
|
assert inventory.plan_no == "SX-NEW"
|
|
|
mock_find_plan.assert_called()
|
|
|
mock_create_plan.assert_not_called()
|
|
|
+
|
|
|
+
|
|
|
+def test_arrange_transport_source_has_no_revoke_call():
|
|
|
+ import inspect
|
|
|
+ from app.api.pl import transport as transport_api
|
|
|
+
|
|
|
+ src = inspect.getsource(transport_api.arrange_transport)
|
|
|
+ assert "revoke_regeneratable_dibang_for_transport" not in src
|