udapi.core.tests.test_enhdeps module

class udapi.core.tests.test_enhdeps.TestEnhDeps(methodName='runTest')[source]

Bases: TestCase

Unit tests for udapi.core.node and enhanced dependecies. Tests the behaviour with empty nodes (with decimal ord, such as 0.1, 2.3 etc.) as well

static add_empty_node(tree, ord_before, decimal=1)[source]

Add an empty node to tree after the node with index ord_before. Empty node will receive ord=`ord_before`.`decimal`

classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

test_create_deps2empty()[source]
test_create_empty()[source]
test_datapath()[source]
test_nodes()[source]
test_ord_type()[source]
test_regular_deps()[source]