Currently, the test for DagmcQuery require each test to open/read the same mesh file to perform queries.
pytest has built in functionality to allow you to create a DagmcFile object once and reuse it in each test, with a concept called a fixture.
It may also be possible to use a fixture to create a single DagmcQuery object to use over multiple tests, but I haven't thought through the logic of that.
Currently, the test for DagmcQuery require each test to open/read the same mesh file to perform queries.
pytest has built in functionality to allow you to create a
DagmcFile
object once and reuse it in each test, with a concept called afixture
.It may also be possible to use a fixture to create a single
DagmcQuery
object to use over multiple tests, but I haven't thought through the logic of that.