File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2020# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121# SOFTWARE.
2222
23+ from packaging .version import parse as parse_version
2324import pytest
2425
25- from ansys .acp .core import PrimaryPly
26+ from ansys .acp .core import ButtJointSequence , PrimaryPly
2627
2728from .common .tree_object_tester import NoLockedMixin , ObjectPropertiesToTest , TreeObjectTester
2829from .common .utils import AnyThing
2930
3031
32+ @pytest .fixture (autouse = True )
33+ def skip_if_unsupported_version (acp_instance ):
34+ if parse_version (acp_instance .server_version ) < parse_version (
35+ ButtJointSequence ._SUPPORTED_SINCE
36+ ):
37+ pytest .skip ("ButtJointSequence is not supported on this version of the server." )
38+
39+
3140@pytest .fixture
3241def parent_model (load_model_from_tempfile ):
3342 with load_model_from_tempfile () as model :
You can’t perform that action at this time.
0 commit comments