Belle II Software light-2406-ragdoll
TestVariableCollections Class Reference
Inheritance diagram for TestVariableCollections:
Collaboration diagram for TestVariableCollections:

Public Member Functions

def test_collections (self)
 

Detailed Description

Test case for the variables.collections 

Definition at line 16 of file test_variables_collections.py.

Member Function Documentation

◆ test_collections()

def test_collections (   self)
 Loads all variables from collections into variable manager 

Definition at line 19 of file test_variables_collections.py.

19 def test_collections(self):
20 """ Loads all variables from collections into variable manager """
21 excluded = ['utils', 'name', 'value']
22 for collection in dir(vc):
23 if (collection.startswith('__') or collection in excluded):
24 continue
25 var_collection = getattr(vc, collection)
26 for variable_name in var_collection:
27 variable = vm.getVariable(variable_name)
28 self.assertNotEqual(variable, None)
29
30

The documentation for this class was generated from the following file: