The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.tests.pcap_test Namespace Reference

Data Structures

class  TestCase
 
class  TestpySwitchDiscovery
 

Functions

def assert_no_dangling_Cclasses ()
 
def findfile (f)
 
def output_json (json)
 
def compare_json (lhs, rhs)
 

Variables

bool CheckForDanglingClasses = True
 
int WorstDanglingCount = 0
 
bool DEBUG = True
 
bool BROKENDNS = False
 
bool AssertOnDanglingClasses = True
 

Function Documentation

def cma.tests.pcap_test.assert_no_dangling_Cclasses ( )

Definition at line 53 of file pcap_test.py.

References cma.AssimCclasses.dump_c_objects(), and proj_class_live_object_count().

Referenced by cma.tests.pcap_test.TestCase.teardown_method().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.tests.pcap_test.compare_json (   lhs,
  rhs 
)

Definition at line 104 of file pcap_test.py.

References cma.tests.pcap_test.output_json().

Referenced by cma.tests.pcap_test.TestpySwitchDiscovery.test_switch_discovery().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.tests.pcap_test.findfile (   f)

Definition at line 92 of file pcap_test.py.

Referenced by cma.tests.pcap_test.TestpySwitchDiscovery.not_a_test_output(), and cma.tests.pcap_test.TestpySwitchDiscovery.test_switch_discovery().

Here is the caller graph for this function:

def cma.tests.pcap_test.output_json (   json)

Definition at line 99 of file pcap_test.py.

Referenced by cma.tests.pcap_test.compare_json(), and cma.tests.pcap_test.TestpySwitchDiscovery.not_a_test_output().

Here is the caller graph for this function:

Variable Documentation

bool cma.tests.pcap_test.AssertOnDanglingClasses = True

Definition at line 46 of file pcap_test.py.

bool cma.tests.pcap_test.BROKENDNS = False

Definition at line 41 of file pcap_test.py.

bool cma.tests.pcap_test.CheckForDanglingClasses = True

Definition at line 37 of file pcap_test.py.

bool cma.tests.pcap_test.DEBUG = True

Definition at line 39 of file pcap_test.py.

int cma.tests.pcap_test.WorstDanglingCount = 0

Definition at line 38 of file pcap_test.py.