File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,14 +41,18 @@ def is_version_supported(version):
4141
4242def is_version_maintained (version ):
4343 # LTS / MTS versions: https://docs.mendix.com/releasenotes/studio-pro/lts-mts
44- if version .major == 7 and version .minor == 23 :
45- return True
4644 if version .major == 8 and version .minor == 18 :
4745 return True
4846 if version .major == 9 and version .minor == 24 :
4947 return True
5048 if version .major == 10 and version .minor == 6 :
5149 return True
50+ if version .major == 10 and version .minor == 12 :
51+ return True
52+ if version .major == 10 and version .minor == 18 :
53+ return True
54+ if version .major == 10 and version .minor == 21 :
55+ return True
5256 return False
5357
5458
Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ def test_mx7_supported(self):
2727
2828
2929class TestCaseMxMaintained (TestCase ):
30- def test_mx7_maintained (self ):
31- assert runtime .is_version_maintained (MXVersion ("7.23.1" ))
32-
3330 def test_mx7_not_maintained (self ):
31+ assert not runtime .is_version_maintained (MXVersion ("7.23.1" ))
3432 assert not runtime .is_version_maintained (MXVersion ("7.16" ))
3533
3634 def test_mx8_maintained (self ):
@@ -49,6 +47,9 @@ def test_mx9_not_maintained(self):
4947
5048 def test_mx10_maintained (self ):
5149 assert runtime .is_version_maintained (MXVersion ("10.6.1" ))
50+ assert runtime .is_version_maintained (MXVersion ("10.12.1" ))
51+ assert runtime .is_version_maintained (MXVersion ("10.18.1" ))
52+ assert runtime .is_version_maintained (MXVersion ("10.21.1" ))
5253
5354 def test_mx10_not_maintained (self ):
5455 assert not runtime .is_version_maintained (MXVersion ("10.5.1" ))
You can’t perform that action at this time.
0 commit comments