The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cma.tests.cma_test Namespace Reference

Data Structures

class  AUDITS
 
class  TestIO
 
class  TestTestInfrastructure
 
class  TestCMABasic
 
class  TestMonitorBasic
 

Functions

def assert_no_dangling_Cclasses
 
def droneipaddress
 
def dronedesignation
 
def hostdiscoveryinfo
 
def geninitconfig
 
def auditalldrones
 
def auditallrings
 
def assimcli_check
 

Variables

list _suites = ['all', 'cma']
 
int WorstDanglingCount = 0
 
 CheckForDanglingClasses = True
 
 AssertOnDanglingClasses = True
 
 DEBUG = False
 
 DoAudit = True
 
 doHBDEAD = True
 
 BuildListOnly = False
 
 SavePackets = True
 
int MaxDrone = 5
 
 t1 = MaxDrone
 
int t2 = MaxDrone/100
 
 t3 = t2
 
int byte1 = 10
 
int byte2 = 20
 
 inityet = False
 

Function Documentation

def cma.tests.cma_test.assert_no_dangling_Cclasses (   doassert = None)
def cma.tests.cma_test.assimcli_check (   command,
  expectedcount = None 
)

Definition at line 265 of file cma_test.py.

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups(), and cma.tests.cma_test.TestCMABasic.test_startup().

Here is the caller graph for this function:

def cma.tests.cma_test.auditalldrones ( )

Definition at line 232 of file cma_test.py.

Referenced by cma.tests.cma_test.TestIO.recvframesets(), and cma.tests.cma_test.TestCMABasic.test_several_startups().

Here is the caller graph for this function:

def cma.tests.cma_test.auditallrings ( )

Definition at line 257 of file cma_test.py.

Referenced by cma.tests.cma_test.TestIO.recvframesets(), and cma.tests.cma_test.TestCMABasic.test_several_startups().

Here is the caller graph for this function:

def cma.tests.cma_test.geninitconfig (   ouraddr)

Definition at line 164 of file cma_test.py.

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups(), and cma.tests.cma_test.TestCMABasic.test_startup().

Here is the caller graph for this function:

def cma.tests.cma_test.hostdiscoveryinfo (   hostnumber)

Definition at line 156 of file cma_test.py.

References cma.tests.cma_test.dronedesignation(), and cma.tests.cma_test.droneipaddress().

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups(), and cma.tests.cma_test.TestCMABasic.test_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

list cma.tests.cma_test._suites = ['all', 'cma']

Definition at line 22 of file cma_test.py.

cma.tests.cma_test.AssertOnDanglingClasses = True

Definition at line 54 of file cma_test.py.

cma.tests.cma_test.BuildListOnly = False

Definition at line 58 of file cma_test.py.

int cma.tests.cma_test.byte1 = 10

Definition at line 144 of file cma_test.py.

Referenced by _netaddr_toStringflex(), and get_lldptlv_len().

int cma.tests.cma_test.byte2 = 20

Definition at line 145 of file cma_test.py.

cma.tests.cma_test.CheckForDanglingClasses = True

Definition at line 53 of file cma_test.py.

cma.tests.cma_test.DEBUG = False

Definition at line 55 of file cma_test.py.

cma.tests.cma_test.DoAudit = True

Definition at line 56 of file cma_test.py.

cma.tests.cma_test.doHBDEAD = True

Definition at line 57 of file cma_test.py.

cma.tests.cma_test.inityet = False

Definition at line 264 of file cma_test.py.

int cma.tests.cma_test.MaxDrone = 5

Definition at line 60 of file cma_test.py.

cma.tests.cma_test.SavePackets = True

Definition at line 59 of file cma_test.py.

cma.tests.cma_test.t1 = MaxDrone

Definition at line 71 of file cma_test.py.

int cma.tests.cma_test.t2 = MaxDrone/100

Definition at line 73 of file cma_test.py.

cma.tests.cma_test.t3 = t2

Definition at line 75 of file cma_test.py.

int cma.tests.cma_test.WorstDanglingCount = 0

Definition at line 51 of file cma_test.py.