Skip to content

Commit

Permalink
Adding an error for tests without restart or curve checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cssherman committed Feb 2, 2024
1 parent 98f1204 commit 2fab135
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions geos_ats_package/geos_ats/test_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ def __init__( self, restartcheck_params=None, curvecheck_params=None, **kw ):
if restartcheck_params is not None:
self.checksteps.append( restartcheck( restartcheck_params, **kw ) )

if not self.checksteps:
raise Exception( f'This test does not have a restart or curve check enabled: {self.p.deck}' )

def label( self ):
return "geos"

Expand Down

0 comments on commit 2fab135

Please sign in to comment.