Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Better coverage
  • Loading branch information
adam-urbanczyk committed Dec 12, 2024
commit 6bcf125ea7b9e90c441138dd3367d2176a851436
11 changes: 7 additions & 4 deletions tests/test_vis.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from cadquery import Workplane, Assembly, Sketch, Location, Vector, Location
from cadquery.vis import show, show_object
from cadquery import Workplane, Assembly, Sketch, Location, Vector
from cadquery.vis import show, show_object, vtkAxesActor

import cadquery.occ_impl.exporters.assembly as assembly
import cadquery.vis as vis

from vtkmodules.vtkRenderingCore import vtkRenderWindow, vtkRenderWindowInteractor
from vtkmodules.vtkRenderingAnnotation import vtkAnnotatedCubeActor

from pytest import fixture, raises
from pytest import fixture


@fixture
Expand Down Expand Up @@ -89,3 +89,6 @@ def test_show(wp, assy, sk, monkeypatch):

# for now a workaround to be compatible with more complicated CQ-editor invocations
show(1)

# show a raw vtkProp
show(vtkAxesActor(), [vtkAnnotatedCubeActor()])