CYCAMORE
Loading...
Searching...
No Matches
test_regression.TestDeployInst Class Reference
Inheritance diagram for test_regression.TestDeployInst:
test_regression.TestRegression

Public Member Functions

 setup_class (cls)
 
 teardown_class (cls)
 
 test_deployment (self)
 
- Public Member Functions inherited from test_regression.TestRegression
 find_ids (cls, spec, a, spec_col="Spec", id_col="AgentId")
 
 to_ary (cls, a, k)
 

Additional Inherited Members

- Public Attributes inherited from test_regression.TestRegression
 agent_entry = f.get_node("/AgentEntry")[:]
 
str agent_exit
 
 compositions = f.get_node("/Compositions")[:]
 
 conn = sqlite3.connect(cls.outf)
 
 cur = cls.conn.cursor()
 
str enrichments
 
str ext = '.sqlite'
 
 inf = inf
 
 info = f.get_node("/Info")[:]
 
str outf = str(uuid.uuid4()) + cls.ext
 
 resources = f.get_node("/Resources")[:]
 
dict rsrc_qtys
 
 transactions = f.get_node("/Transactions")[:]
 

Detailed Description

This class tests the ../input/deploy_inst.xml

Tests DeployInst, and NullRegion over a 10-time step
simulation.

A DeployInst is used to define that a Source agent is to be deployed at
time t=1 within a Null Region. A Sink agent is also deployed as
an initial facility. This input is used to test that the Source and
Sink agents are deployed at their respecitve times and that the correct
number of these agents are deployed.

Definition at line 451 of file test_regression.py.

Member Function Documentation

◆ setup_class()

test_regression.TestDeployInst.setup_class ( cls)

Reimplemented from test_regression.TestRegression.

Definition at line 465 of file test_regression.py.

References setup_class(), and test_regression.skip_if_dont_allow_milps().

Referenced by setup_class().

◆ teardown_class()

test_regression.TestDeployInst.teardown_class ( cls)

Reimplemented from test_regression.TestRegression.

Definition at line 470 of file test_regression.py.

References teardown_class().

Referenced by teardown_class().

◆ test_deployment()

test_regression.TestDeployInst.test_deployment ( self)

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