CYCAMORE
Loading...
Searching...
No Matches
test_regression._PhysorSources Class Reference
Inheritance diagram for test_regression._PhysorSources:
test_regression.TestRegression test_regression.TestCBCPhysorSources test_regression.TestGreedyPhysorSources

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")[:]
 

Detailed Description

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.

Member Function Documentation

◆ setup_class()

test_regression._PhysorSources.setup_class ( cls,
inf )

◆ test_rxtr1_xactions()

test_regression._PhysorSources.test_rxtr1_xactions ( self)

Definition at line 203 of file test_regression.py.

◆ test_rxtr2_xactions()

test_regression._PhysorSources.test_rxtr2_xactions ( self)

◆ test_rxtr3_xactions()

test_regression._PhysorSources.test_rxtr3_xactions ( self)

◆ test_rxtr_deployment()

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.

Member Data Documentation

◆ r1

test_regression._PhysorSources.r1

Definition at line 190 of file test_regression.py.

Referenced by test_rxtr_deployment().

◆ r2

test_regression._PhysorSources.r2

Definition at line 190 of file test_regression.py.

Referenced by test_rxtr2_xactions(), and test_rxtr_deployment().

◆ r3

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().

◆ smox

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().

◆ suox

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().


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