Improved time-based comments in the Axis Minor nat.caps. snippets.

master
Pacman Ghost 2 years ago
parent 650a6f86d4
commit 437865b47d
  1. 9
      vasl_templates/webapp/data/default-template-pack/national-capabilities.json
  2. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1940.txt
  3. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1941.txt
  4. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1942.txt
  5. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1943.txt
  6. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1944.txt
  7. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/bulgarian/1945.txt
  8. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1940.txt
  9. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1941.txt
  10. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1942.txt
  11. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1943.txt
  12. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1944.txt
  13. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/croatian/1945.txt
  14. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1940.txt
  15. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1941.txt
  16. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1942.txt
  17. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1943.txt
  18. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1944.txt
  19. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/hungarian/1945.txt
  20. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1940.txt
  21. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1941.txt
  22. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1942.txt
  23. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1943.txt
  24. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1944.txt
  25. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/romanian/1945.txt
  26. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1940.txt
  27. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1941.txt
  28. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1942.txt
  29. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1943.txt
  30. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1944.txt
  31. 8
      vasl_templates/webapp/tests/fixtures/nat-caps/slovakian/1945.txt
  32. 17
      vasl_templates/webapp/tests/test_national_capabilities.py

@ -173,11 +173,16 @@
"grenades": "Smoke",
"notes": [
"Escape NA",
"{? 03/1944- | Inherent PF in non-Crew MMC (Romanian<sup>3/44+</sup>; Hungarian<sup>6/44+</sup>) | No Inherent PF | Inherent PF (Romanian<sup>3/44+</sup>; Hungarian<sup>6/44+</sup>) ?}",
"{? 07/1943- | Inherent ATMM in Romanian non-Crew Elite &amp; 1st Line MMC (-2 CC DRM) | No Inherent ATMM | Inherent ATMM<sup>(7/43+)</sup> ?}",
{ "caption": "1st Line &amp; Conscript", "notes": [
"1 PAATC",
"Surrender on HoB Final DR &ge; 10"
] },
{ "caption": "Romanian, Hungarian", "notes": [
"{! -02/1944 = No Inherent PF | 03/1944-05/1944 = | 06/1944- = Inherent PF in non-Crew MMC | Inherent PF <span class='comment'>(Romanian<sup>3/44+</sup>, Hungarian<sup>6/44+</sup>)</span> !}"
] },
{ "caption": "Romanian", "notes": [
"{! 03/1944-05/1944 = Inherent PF in non-Crew MMC !}",
"{? 07/1943- | Inherent ATMM in non-Crew Elite <br> and 1st Line MMC (-2 CC DRM) | No Inherent ATMM | Inherent ATMM<sup>(7/43+)</sup> ?}"
] }
]
},

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* Inherent PF in non-Crew MMC (Romanian3/44+; Hungarian6/44+)
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* Inherent PF in non-Crew MMC
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* Inherent PF in non-Crew MMC (Romanian3/44+; Hungarian6/44+)
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* Inherent PF in non-Crew MMC
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* Inherent PF in non-Crew MMC (Romanian3/44+; Hungarian6/44+)
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* Inherent PF in non-Crew MMC
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* Inherent PF in non-Crew MMC (Romanian3/44+; Hungarian6/44+)
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* Inherent PF in non-Crew MMC
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* No Inherent ATMM
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* No Inherent ATMM

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* No Inherent PF
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* No Inherent PF
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -6,9 +6,13 @@ Red TH#
OBA: 6B 3R (access: ≤ 1)
* Escape NA
* Inherent PF in non-Crew MMC (Romanian3/44+; Hungarian6/44+)
* Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)
1st Line & Conscript:
* 1 PAATC
* Surrender on HoB Final DR ≥ 10
Romanian, Hungarian:
* Inherent PF in non-Crew MMC
Romanian:
* Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)

@ -268,17 +268,20 @@ def test_time_based_national_capabilities( webapp, webdriver ):
check_oba( "finnish", "ETO", 1, 1945, "7B", "3R", plentiful=True )
# test the Axis Minor national capabilities
check_notes( "romanian", "ETO", 12, 1942, [
"No Inherent ATMM"
] )
check_notes( "romanian", "ETO", 6, 1943, [
"No Inherent ATMM"
"No Inherent PF", "No Inherent ATMM"
] )
check_notes( "romanian", "ETO", 7, 1943, [
"Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)"
"No Inherent PF", "Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)"
] )
check_notes( "romanian", "ETO", 3, 1944, [
"Inherent PF in non-Crew MMC", "Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)"
] )
check_notes( "romanian", "ETO", 1, 1944, [
"Inherent ATMM in Romanian non-Crew Elite & 1st Line MMC (-2 CC DRM)"
# FUDGE! Because the "Inherent PF" note appears in the "Romanian + Hungarian" or "Romanian" group,
# depending on the data, we distinguish between the two by having an extra space in the note,
# which won't make any different when it's rendered as HTML, but can be detected here... :-/
check_notes( "romanian", "ETO", 7, 1944, [
"Inherent PF in non-Crew MMC", "Inherent ATMM in non-Crew Elite and 1st Line MMC (-2 CC DRM)"
] )
# test the KFW American national Capabilities

Loading…
Cancel
Save