Skip to content

Commit

Permalink
Update description for F680 application option
Browse files Browse the repository at this point in the history
  • Loading branch information
saruniitr authored and currycoder committed Jan 13, 2025
1 parent d9496d1 commit 15d4d1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion exporter/apply_for_a_licence/forms/triage_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ def opening_question():
"before you provide access to controlled technology, software or data."
),
),
Option(
key="f680",
value="MOD F680",
description=(
"Select if you need approval to release security classified products or information to foreign entities."
),
disabled=False,
),
Option(
key="transhipment",
value="Transhipment licence",
Expand Down Expand Up @@ -53,7 +61,6 @@ def opening_question():
),
disabled=settings.FEATURE_FLAG_ONLY_ALLOW_SIEL,
),
Option(key="f680", value="F680", description=("Select if f680"), disabled=False),
]
if settings.FEATURE_FLAG_ONLY_ALLOW_SIEL:
description = render_to_string("applications/use-spire-triage.html")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"value,expect_enabled,expect_disabled",
(
(True, ["export_licence", "f680"], ["transhipment", "trade_control_licence", "mod"]),
(False, ["export_licence", "transhipment", "trade_control_licence", "mod", "f680"], []),
(False, ["export_licence", "f680", "transhipment", "trade_control_licence", "mod"], []),
),
)
def test_opening_question_feature_flag(settings, value, expect_enabled, expect_disabled):
Expand Down

0 comments on commit 15d4d1f

Please sign in to comment.