MCPcopy Create free account
hub / github.com/Kitware/VTK / testtDirectory

Method testtDirectory

Common/Core/Testing/Python/TestFilePath.py:37–42  ·  view source on GitHub ↗

Check the hinted vtkDirectory methods

(self)

Source from the content-addressed store, hash-verified

35 self.assertEqual(w.GetFileName(), str(pathobj))
36
37 def testtDirectory(self):
38 """Check the hinted vtkDirectory methods
39 """
40 d = vtkDirectory()
41 # This will raise an exception if Path isn't accepted
42 d.Open(Path(VTK_TEMP_DIR))
43
44if __name__ == "__main__":
45 Testing.main([(TestFilePath, 'test')])

Callers

nothing calls this directly

Calls 3

vtkDirectoryFunction · 0.85
PathClass · 0.50
OpenMethod · 0.45

Tested by

no test coverage detected