File tree Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Expand file tree Collapse file tree 5 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1212from RFEM .Reports .partsList import GetPartsListAllByMaterial , GetPartsListMemberRepresentativesByMaterial
1313from RFEM .Reports .partsList import GetPartsListMemberSetsByMaterial , GetPartsListMembersByMaterial
1414from RFEM .Reports .partsList import GetPartsListSolidsByMaterial , GetPartsListSurfacessByMaterial
15+ import pytest
1516
1617if Model .clientModel is None :
1718 Model ()
1819
20+ @pytest .mark .skip (reason = 'As of 2.9.2022 get_design_overview() function does not work.' )
1921def test_designOverview ():
2022
2123 Model .clientModel .service .delete_all ()
@@ -24,6 +26,7 @@ def test_designOverview():
2426 Model .clientModel .service .calculate_all (False )
2527
2628 designOverview = GetDesignOverview ()
29+ print (designOverview )
2730 assert round (designOverview [0 ][0 ].row ['design_ratio' ]) == 3
2831 assert designOverview [0 ][0 ].row ['design_check_type' ] == 'DM0210.00'
2932
Original file line number Diff line number Diff line change @@ -240,5 +240,5 @@ def test_free_load():
240240 fpl = Model .clientModel .service .get_free_polygon_load (4 , 5 )
241241 assert fpl .magnitude_linear_2 == 7500
242242 assert fpl .magnitude_linear_location_1 == 2
243- assert fpl .load_location [0 ][0 ][ 1 ] .second_coordinate == 4
244- assert fpl .load_location [0 ][2 ][ 1 ] .first_coordinate == 2
243+ assert fpl .load_location [0 ][0 ]. row .second_coordinate == 4
244+ assert fpl .load_location [0 ][2 ]. row .first_coordinate == 2
Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ def test_member_set_load():
285285
286286 msl = Model .clientModel .service .get_member_set_load (24 , 1 )
287287 assert msl .member_sets == '1'
288- assert msl .varying_load_parameters [0 ][0 ][ 1 ] .magnitude == 4000
289- assert msl .varying_load_parameters [0 ][1 ][ 1 ] .distance == 2
288+ assert msl .varying_load_parameters [0 ][0 ]. row .magnitude == 4000
289+ assert msl .varying_load_parameters [0 ][1 ]. row .distance == 2
290290
291291 msl = Model .clientModel .service .get_member_set_load (25 , 1 )
292292 assert msl .member_sets == '1'
Original file line number Diff line number Diff line change @@ -31,5 +31,5 @@ def test_loadCombination():
3131
3232 combination = Model .clientModel .service .get_load_combination (1 )
3333
34- assert round (combination .items [0 ][0 ][ 1 ] .factor , 2 ) == 1.20
35- assert combination .items [0 ][0 ].row [ 1 ] == 1
34+ assert round (combination .items [0 ][0 ]. row .factor , 2 ) == 1.20
35+ assert combination .items [0 ][0 ].row . load_case == 1
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'RFEM' ,
10- version = '1.10 .0' ,
10+ version = '1.11 .0' ,
1111 description = 'Python Framework for RFEM6 Web Services' ,
1212 long_description = readme ,
1313 long_description_content_type = "text/markdown" ,
1818 classifiers = [
1919 "License :: OSI Approved :: MIT License" ,
2020 "Programming Language :: Python :: 3" ,
21- "Programming Language :: Python :: 3.9 "
21+ "Programming Language :: Python :: 3.10 "
2222 ],
2323 packages = find_packages (),
2424 package_dir = {"RFEM" :"RFEM" },
You can’t perform that action at this time.
0 commit comments