test_get_node2element (method)

class unittest_get_node2element(methodName='runTest')[source]

Bases: unittest.case.TestCase

unittest to get elements containing specific node(s)

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_ElementMat_1node()[source]

unittest for one existing node

test_ElementMat_fakenode()[source]

unittest for one non-existing node

test_ElementMat_None()[source]

unittest for None input