![]() |
CYCAMORE
|
Public Member Functions | |
| setup_class (cls, inf) | |
| test_rxtr1_xactions (self) | |
| test_rxtr2_xactions (self) | |
| test_rxtr3_xactions (self) | |
| test_rxtr_deployment (self) | |
Public Member Functions inherited from test_regression.TestRegression | |
| find_ids (cls, spec, a, spec_col="Spec", id_col="AgentId") | |
| teardown_class (cls) | |
| to_ary (cls, a, k) | |
Public Attributes | |
| r1 | |
| r2 | |
| r3 = tuple(rx_id) | |
| smox = cls.transactions[0]["SenderId"] | |
| suox = s_id[0] | |
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")[:] | |
This class tests the 2_Sources_3_Reactor.xml file related to the Cyclus Physor 2014 publication. Reactor deployment and transactions between suppliers and reactors are tested.
Definition at line 179 of file test_regression.py.
| test_regression._PhysorSources.setup_class | ( | cls, | |
| inf ) |
Reimplemented from test_regression.TestRegression.
Reimplemented in test_regression.TestCBCPhysorSources, and test_regression.TestGreedyPhysorSources.
Definition at line 185 of file test_regression.py.
References test_regression.TestRegression.agent_entry, test_regression.TestRegression.find_ids(), and setup_class().
Referenced by setup_class().
| test_regression._PhysorSources.test_rxtr1_xactions | ( | self | ) |
Definition at line 203 of file test_regression.py.
| test_regression._PhysorSources.test_rxtr2_xactions | ( | self | ) |
Definition at line 218 of file test_regression.py.
References r2, test_regression.TestRegression.rsrc_qtys, smox, suox, and test_regression.TestRegression.transactions.
| test_regression._PhysorSources.test_rxtr3_xactions | ( | self | ) |
Definition at line 233 of file test_regression.py.
References r3, test_regression.TestRegression.rsrc_qtys, smox, suox, and test_regression.TestRegression.transactions.
| test_regression._PhysorSources.test_rxtr_deployment | ( | self | ) |
Definition at line 196 of file test_regression.py.
References test_regression.TestRegression.agent_entry, r1, r2, and r3.
| test_regression._PhysorSources.r1 |
Definition at line 190 of file test_regression.py.
Referenced by test_rxtr_deployment().
| test_regression._PhysorSources.r2 |
Definition at line 190 of file test_regression.py.
Referenced by test_rxtr2_xactions(), and test_rxtr_deployment().
| test_regression._PhysorSources.r3 = tuple(rx_id) |
Definition at line 190 of file test_regression.py.
Referenced by test_rxtr3_xactions(), and test_rxtr_deployment().
| test_regression._PhysorSources.smox = cls.transactions[0]["SenderId"] |
Definition at line 192 of file test_regression.py.
Referenced by test_rxtr2_xactions(), and test_rxtr3_xactions().
| test_regression._PhysorSources.suox = s_id[0] |
Definition at line 194 of file test_regression.py.
Referenced by test_rxtr2_xactions(), and test_rxtr3_xactions().