update test import location
@@ -25,7 +25,7 @@ from pymedphys._imports import pydicom, pytest
import pymedphys
from pymedphys._data import download
-from pymedphys._dicom import collection, create, dose
+from pymedphys._dicom import collection, create, dose, orientation
from . import test_coords
@@ -82,15 +82,15 @@ def test_require_patient_orientation():
for test_orient in test_orientations:
if orient == test_orient:
- dose.require_patient_orientation(ds, test_orient)
+ orientation.require_patient_orientation(ds, test_orient)
elif orient == "no orient":
with pytest.raises(AttributeError):
- dose.require_patient_orientation(ds, test_orient)
+ orientation.require_patient_orientation(ds, test_orient)
else:
with pytest.raises(ValueError):
- dose.require_patient_orientation(ds, test_orient)
+ orientation.require_patient_orientation(ds, test_orient)
@pytest.mark.pydicom
