@@ -664,6 +664,7 @@ def test_visualization_polydata():
664664 assert box .visualization_polydata .n_open_edges == 4
665665
666666
667+ @skip_no_xserver
667668def test_plot_design_point (modeler : Modeler , verify_image_cache ):
668669 """Test the plotting of DesignPoint objects."""
669670 design = modeler .create_design ("Multiplot" )
@@ -690,7 +691,8 @@ def test_plot_design_point(modeler: Modeler, verify_image_cache):
690691 )
691692
692693
693- def test_plot_revolve_sketch_normal (modeler : Modeler ):
694+ @skip_no_xserver
695+ def test_plot_revolve_sketch_normal (modeler : Modeler , verify_image_cache ):
694696 """Test plotting of a sketch revolved around an axis."""
695697 # Initialize the donut sketch design
696698 design = modeler .create_design ("quarter-donut" )
@@ -725,7 +727,8 @@ def test_plot_revolve_sketch_normal(modeler: Modeler):
725727 )
726728
727729
728- def test_plot_revolve_sketch_negative_angle (modeler : Modeler ):
730+ @skip_no_xserver
731+ def test_plot_revolve_sketch_negative_angle (modeler : Modeler , verify_image_cache ):
729732 """Test plotting of a sketch revolved around an axis with a negative
730733 angle.
731734 """
@@ -762,7 +765,10 @@ def test_plot_revolve_sketch_negative_angle(modeler: Modeler):
762765 )
763766
764767
765- def test_plot_server_colors_on_design (modeler : Modeler , use_service_colors : None ):
768+ @skip_no_xserver
769+ def test_plot_server_colors_on_design (
770+ modeler : Modeler , use_service_colors : None , verify_image_cache
771+ ):
766772 """Test plotting of a design with server colors."""
767773 # The following design is created:
768774 #
@@ -797,7 +803,10 @@ def test_plot_server_colors_on_design(modeler: Modeler, use_service_colors: None
797803 design .plot (screenshot = Path (IMAGE_RESULTS_DIR , "plot_server_colors_on_design.png" ))
798804
799805
800- def test_plot_server_color_on_single_body (modeler : Modeler , use_service_colors : None ):
806+ @skip_no_xserver
807+ def test_plot_server_color_on_single_body (
808+ modeler : Modeler , use_service_colors : None , verify_image_cache
809+ ):
801810 """Test plotting of a single body with server colors."""
802811 design = modeler .create_design ("ServerColorsBody" )
803812
@@ -810,7 +819,10 @@ def test_plot_server_color_on_single_body(modeler: Modeler, use_service_colors:
810819 body .plot (screenshot = Path (IMAGE_RESULTS_DIR , "plot_server_color_on_single_body.png" ))
811820
812821
813- def test_plot_server_colors_on_design_using_input (modeler : Modeler , use_service_colors : None ):
822+ @skip_no_xserver
823+ def test_plot_server_colors_on_design_using_input (
824+ modeler : Modeler , use_service_colors : None , verify_image_cache
825+ ):
814826 """Test plotting of a design with server colors (via argument)."""
815827 # The following design is created:
816828 #
@@ -848,7 +860,8 @@ def test_plot_server_colors_on_design_using_input(modeler: Modeler, use_service_
848860 )
849861
850862
851- def test_plot_server_color_on_single_body_using_input (modeler : Modeler ):
863+ @skip_no_xserver
864+ def test_plot_server_color_on_single_body_using_input (modeler : Modeler , verify_image_cache ):
852865 """Test plotting of a single body with server colors (via argument)."""
853866 design = modeler .create_design ("ServerColorsBodyUsingInput" )
854867
0 commit comments