The Assimilation Project  based on Assimilation version 1.1.6.1462601511
cma.tests.cma_test.TestCMABasic Class Reference
Inheritance diagram for cma.tests.cma_test.TestCMABasic:
Collaboration diagram for cma.tests.cma_test.TestCMABasic:

Public Member Functions

def check_discovery (self, drone, expectedjson)
 
def test_startup (self)
 
def check_live_counts (self, expectedlivecount, expectedpartnercount, expectedringmembercount)
 
def construct_and_verify_diagram (self, diagramtype, patterncounts)
 
def diagram_patterns (self, diagramtype, nodecount)
 
def test_several_startups (self)
 
- Public Member Functions inherited from cma.tests.cma_test.TestCase
def assertEqual (self, a, b)
 
def assertNotEqual (self, a, b)
 
def assertTrue (self, a)
 
def assertFalse (self, a)
 
def assertRaises (self, exception, function, args)
 
def teardown_method (self, method)
 

Static Public Attributes

string OS_DISCOVERY
 
string ULIMIT_DISCOVERY
 
string DRAWING_PRODUCER = 'drawwithdot'
 

Detailed Description

Definition at line 549 of file cma_test.py.

Member Function Documentation

def cma.tests.cma_test.TestCMABasic.check_discovery (   self,
  drone,
  expectedjson 
)
def cma.tests.cma_test.TestCMABasic.check_live_counts (   self,
  expectedlivecount,
  expectedpartnercount,
  expectedringmembercount 
)
def cma.tests.cma_test.TestCMABasic.construct_and_verify_diagram (   self,
  diagramtype,
  patterncounts 
)
def cma.tests.cma_test.TestCMABasic.diagram_patterns (   self,
  diagramtype,
  nodecount 
)

Definition at line 721 of file cma_test.py.

References cma.tests.cma_test.dronedesignation().

Referenced by cma.tests.cma_test.TestCMABasic.test_several_startups().

Here is the call graph for this function:

Here is the caller graph for this function:

def cma.tests.cma_test.TestCMABasic.test_startup (   self)

Field Documentation

string cma.tests.cma_test.TestCMABasic.DRAWING_PRODUCER = 'drawwithdot'
static
string cma.tests.cma_test.TestCMABasic.OS_DISCOVERY
static
Initial value:
1 = '''{
2  "discovertype": "os",
3  "description": "OS information",
4  "host": "drone000001",
5  "instance": "os",
6  "source": "../discovery_agents/os",
7  "proxy": "local/local",
8  "data": {
9 "nodename": "drone000001",
10 "operating-system": "GNU/Linux",
11 "machine": "x86_64",
12 "processor": "x86_64",
13 "hardware-platform": "x86_64",
14 "kernel-name": "Linux",
15 "kernel-release": "3.19.0-31-generic",
16 "kernel-version": "#36-Ubuntu SMP Wed Oct 7 15:04:02 UTC 2015",
17 "Distributor ID": "Ubuntu",
18 "Description": "Ubuntu 15.04",
19 "Release": "15.04",
20 "Codename": "vivid"
21  }
22 }'''

Definition at line 550 of file cma_test.py.

Referenced by cma.tests.cma_test.TestCMABasic.test_startup().

string cma.tests.cma_test.TestCMABasic.ULIMIT_DISCOVERY
static
Initial value:
1 = '''{
2  "discovertype": "ulimit",
3  "description": "ulimit values for root",
4  "host": "drone000001",
5  "instance": "ulimit",
6  "source": "../discovery_agents/ulimit",
7  "proxy": "local/local",
8  "data": {
9 "hard": {"c":null,"d":null,"f":null,"l":null,"m":null,"n":65536,"p":63557,"s":null,"t":null,"v":null},
10 "soft": {"c":0,"d":null,"f":null,"l":null,"m":null,"n":1024,"p":63557,"s":8192,"t":null,"v":null}
11  }
12 }'''

Definition at line 572 of file cma_test.py.

Referenced by cma.tests.cma_test.TestCMABasic.test_startup().


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