Skip to content

Commit

Permalink
fix c ondition
Browse files Browse the repository at this point in the history
  • Loading branch information
polsala committed Jul 4, 2024
1 parent 0e3e648 commit b288409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion destral/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_all_views(self):
'not exist' % (view_xml_name, view.model)
)
logger.info('Testing view %s (id: %s) v%s', view.name, view.id, view.version)
if TestingExceptions:
if SkipViewValidation:
try:
model.fields_view_get(txn.cursor, txn.user, view.id, view.type, version=view.version)
except TestingExceptions.SkipViewValidation:
Expand Down

0 comments on commit b288409

Please sign in to comment.