CYCAMORE
|
Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | find_ids (self, spec, a, spec_col="Spec", id_col="AgentId") |
def | setUp (self) |
def | tearDown (self) |
def | to_ary (self, a, k) |
Public Attributes | |
agent_entry | |
agent_exit | |
compositions | |
conn | |
cur | |
enrichments | |
ext | |
inf | |
info | |
outf | |
resources | |
rsrc_qtys | |
transactions | |
A base class for all regression tests. A derived class is required for each new input file to be tested. Each derived class *must* declare an `inf` member in their `__init__` function that points to the input file to be tested, e.g., `self.inf_ = ./path/to/my/input_file.xml. See below for examples.
Definition at line 31 of file test_regression.py.
def test_regression.TestRegression.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Definition at line 38 of file test_regression.py.
def test_regression.TestRegression.find_ids | ( | self, | |
spec, | |||
a, | |||
spec_col = "Spec" , |
|||
id_col = "AgentId" |
|||
) |
Definition at line 89 of file test_regression.py.
References test_regression.TestRegression.ext, and helper.find_ids().
Referenced by test_regression._PhysorSources.setUp(), and test_regression.TestGrowth.test_deployment().
def test_regression.TestRegression.setUp | ( | self | ) |
Definition at line 43 of file test_regression.py.
References test_regression.TestRegression.ext, test_regression.TestRegression.inf, test_regression.TestRegression.outf, and helper.run_cyclus().
def test_regression.TestRegression.tearDown | ( | self | ) |
Definition at line 101 of file test_regression.py.
References test_regression.TestRegression.conn, test_regression.TestRegression.ext, and test_regression.TestRegression.outf.
def test_regression.TestRegression.to_ary | ( | self, | |
a, | |||
k | |||
) |
Definition at line 95 of file test_regression.py.
References test_regression.TestRegression.ext.
Referenced by test_regression.TestGrowth.test_deployment(), test_regression._PhysorEnrichment.test_nu(), and test_regression._PhysorEnrichment.test_swu().
test_regression.TestRegression.agent_entry |
Definition at line 53 of file test_regression.py.
Referenced by test_regression._PhysorEnrichment.setUp(), test_regression._PhysorSources.setUp(), test_regression.TestGrowth.test_deployment(), and test_regression._PhysorSources.test_rxtr_deployment().
test_regression.TestRegression.agent_exit |
Definition at line 54 of file test_regression.py.
test_regression.TestRegression.compositions |
Definition at line 62 of file test_regression.py.
test_regression.TestRegression.conn |
Definition at line 67 of file test_regression.py.
Referenced by test_regression.TestRegression.tearDown().
test_regression.TestRegression.cur |
Definition at line 69 of file test_regression.py.
test_regression.TestRegression.enrichments |
Definition at line 57 of file test_regression.py.
Referenced by test_regression._PhysorEnrichment.test_nu(), and test_regression._PhysorEnrichment.test_swu().
test_regression.TestRegression.ext |
Definition at line 39 of file test_regression.py.
Referenced by test_regression.TestRegression.find_ids(), test_regression.TestRegression.setUp(), test_regression.TestRegression.tearDown(), and test_regression.TestRegression.to_ary().
test_regression.TestRegression.inf |
Definition at line 41 of file test_regression.py.
Referenced by test_regression.TestRegression.setUp().
test_regression.TestRegression.info |
Definition at line 63 of file test_regression.py.
test_regression.TestRegression.outf |
Definition at line 40 of file test_regression.py.
Referenced by test_regression._Recycle.__init__(), test_regression._Recycle.do_compare(), test_regression.TestRegression.setUp(), and test_regression.TestRegression.tearDown().
test_regression.TestRegression.resources |
Definition at line 60 of file test_regression.py.
test_regression.TestRegression.rsrc_qtys |
Definition at line 64 of file test_regression.py.
Referenced by test_regression._PhysorSources.test_rxtr1_xactions(), test_regression._PhysorSources.test_rxtr2_xactions(), test_regression._PhysorSources.test_rxtr3_xactions(), test_regression._PhysorEnrichment.test_xactions1(), and test_regression._PhysorEnrichment.test_xactions2().
test_regression.TestRegression.transactions |
Definition at line 61 of file test_regression.py.
Referenced by test_regression._PhysorSources.test_rxtr1_xactions(), test_regression._PhysorSources.test_rxtr2_xactions(), test_regression._PhysorSources.test_rxtr3_xactions(), test_regression._PhysorEnrichment.test_xactions1(), and test_regression._PhysorEnrichment.test_xactions2().