Skip to content

Commit

Permalink
Closes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
alfoa committed Dec 4, 2023
1 parent a851f7c commit 505742f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion teal_standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""
Created on Dec 01, 2023
@author: aalfonsi
@author: alfoa (A. Alfonsi)
This is a package that properly imports TEAL (CashFlow standalone driver) and runs it.
"""
Expand Down
5 changes: 3 additions & 2 deletions tests/CashFlow_test_NPV_RunAsCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import sys
# run the Cash Flow plugin as stand alone code
os.system('python ../src/CashFlow_ExtMod.py -iXML Cash_Flow_input_NPV.xml -iINP VarInp.txt -o out.out')
os.system('python ../teal_standalone.py -iXML Cash_Flow_input_NPV.xml -iINP VarInp.txt -o out.out')

# read out.out and compare with gold
last = None
Expand All @@ -24,9 +24,10 @@
# <description>
# This input tests the RAVEN plugin CashFlow in standalone mode.
# </description>
# <classesTested>Models.ExternalModel.CashFlow</classesTested>
# <classesTested>Models.ExternalModel.TEAL.CashFlow</classesTested>
# <revisions>
# <revision author="alfoa" date="2019-11-25">Added classTested node</revision>
# <revision author="alfoa" date="2023-12-04">Reactivated test to test fix of issue #79</revision>
# </revisions>
# <requirements>CF-EA-5</requirements>
# </TestInfo>
2 changes: 1 addition & 1 deletion tests/tests
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
[./CashFlow_NPV_RunAsCode]
type = 'RavenPython'
input = 'CashFlow_test_NPV_RunAsCode.py'
skip = 'Need to create driver to make this work'
#skip = 'Fixed with issue #79'
[../]

[./CashFlow_NPV_customTime]
Expand Down

0 comments on commit 505742f

Please sign in to comment.