Open jcfr opened 6 years ago
@jcfr Thanks a lot for the help today.
Is it uncommon to use the slicer.dicomDatabase in tests? If so, are there any examples how to handle such situations?
You could look into using the context manager DICOMUtils.TemporaryDICOMDatabase(self.dicomDatabaseDir)
For example, see https://github.com/SlicerRt/SlicerRT/commit/eb6d8e7fefa239bce34815243b76651a9d27264d
$ ctest -V