The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tests.cma_test.TestCMABasic Class Reference
Inheritance diagram for tests.cma_test.TestCMABasic:
Collaboration diagram for tests.cma_test.TestCMABasic:

Public Member Functions

def test_startup
 
def test_several_startups
 
def tearDown
 

Static Public Attributes

list droneroot = CMAdb.cdb.nodetypetbl['Drone']
 
tuple Dronerels = droneroot.get_relationships('incoming', 'IS_A')
 
int partnercount = 0
 
int livecount = 0
 
int ringcount = 0
 
tuple drone1 = DroneInfo(dronerel.start_node)
 
tuple drone1rels = drone1.node.get_relationships()
 
 reltype = rel.type
 

Detailed Description

Definition at line 342 of file tests/cma_test.py.

Member Function Documentation

def tests.cma_test.TestCMABasic.tearDown (   self)

Definition at line 447 of file tests/cma_test.py.

References tests.cma_test.assert_no_dangling_Cclasses().

Here is the call graph for this function:

def tests.cma_test.TestCMABasic.test_several_startups (   self)
A very interesting test: We send a STARTUP message and get back a
SETCONFIG message and then send back a bunch of discovery requests.

Definition at line 374 of file tests/cma_test.py.

References tests.cma_test.dronedesignation(), tests.cma_test.droneipaddress(), tests.cma_test.geninitconfig(), and tests.cma_test.hostdiscoveryinfo().

Here is the call graph for this function:

def tests.cma_test.TestCMABasic.test_startup (   self)
A semi-interesting test: We send a STARTUP message and get back a
SETCONFIG message with lots of good stuff in it.

Definition at line 343 of file tests/cma_test.py.

References tests.cma_test.dronedesignation(), tests.cma_test.droneipaddress(), tests.cma_test.geninitconfig(), and tests.cma_test.hostdiscoveryinfo().

Here is the call graph for this function:

Field Documentation

tuple tests.cma_test.TestCMABasic.drone1 = DroneInfo(dronerel.start_node)
static

Definition at line 425 of file tests/cma_test.py.

tuple tests.cma_test.TestCMABasic.drone1rels = drone1.node.get_relationships()
static

Definition at line 427 of file tests/cma_test.py.

tuple tests.cma_test.TestCMABasic.Dronerels = droneroot.get_relationships('incoming', 'IS_A')
static

Definition at line 418 of file tests/cma_test.py.

list tests.cma_test.TestCMABasic.droneroot = CMAdb.cdb.nodetypetbl['Drone']
static

Definition at line 417 of file tests/cma_test.py.

int tests.cma_test.TestCMABasic.livecount = 0
static

Definition at line 422 of file tests/cma_test.py.

int tests.cma_test.TestCMABasic.partnercount = 0
static

Definition at line 421 of file tests/cma_test.py.

tests.cma_test.TestCMABasic.reltype = rel.type
static

Definition at line 429 of file tests/cma_test.py.

int tests.cma_test.TestCMABasic.ringcount = 0
static

Definition at line 423 of file tests/cma_test.py.


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