Fixed weapons names in pdcs extensions, removed deprecated rafale mod, fixed many other compilation issues with pydcs 2.7+

This commit is contained in:
Khopa
2021-04-17 02:13:52 +02:00
parent 1e468cd3e0
commit 8091051bb4
77 changed files with 1017 additions and 3797 deletions

View File

@@ -25,9 +25,9 @@ from dcs.planes import (
from dcs.ships import (
CVN_74_John_C__Stennis,
LHA_1_Tarawa,
Oliver_Hazzard_Perry_class,
USS_Arleigh_Burke_IIa,
Ticonderoga_class,
FFG_Oliver_Hazzard_Perry,
DDG_Arleigh_Burke_IIa,
CG_Ticonderoga,
)
from dcs.vehicles import Armor, Unarmed, Infantry, Artillery
@@ -99,9 +99,9 @@ class TestFactionLoader(unittest.TestCase):
self.assertIn(CVN_74_John_C__Stennis, faction.aircraft_carrier)
self.assertIn(LHA_1_Tarawa, faction.helicopter_carrier)
self.assertIn(Oliver_Hazzard_Perry_class, faction.destroyers)
self.assertIn(USS_Arleigh_Burke_IIa, faction.destroyers)
self.assertIn(Ticonderoga_class, faction.cruisers)
self.assertIn(FFG_Oliver_Hazzard_Perry, faction.destroyers)
self.assertIn(DDG_Arleigh_Burke_IIa, faction.destroyers)
self.assertIn(CG_Ticonderoga, faction.cruisers)
self.assertIn("mod", faction.requirements.keys())
self.assertIn("Some mod is required", faction.requirements.values())