udapi.core.tests.test_node module

Unit tests for udapi.core.node.

class udapi.core.tests.test_node.TestDocument(methodName='runTest')[source]

Bases: TestCase

Unit tests for udapi.core.node.

test_deprel()[source]

Test getting setting the dependency relation.

test_deps_getter()[source]

Test enhanced dependencies.

test_deps_setter()[source]

Test the deserialization of enhanced dependencies.

test_draw()[source]

Test the draw() method, which uses udapi.block.write.textmodetrees.

test_empty_nodes()[source]

Test creation of empty nodes and how their ord is changed when removing nodes.

test_feats()[source]

Test the morphological features.

test_topology()[source]

Test methods/properties descendants, children, prev_node, next_node, ord.