Skip to content

Commit

Permalink
added assert message
Browse files Browse the repository at this point in the history
  • Loading branch information
wacban committed Oct 28, 2024
1 parent 1d9f882 commit f429379
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pytest/tests/sanity/congestion_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ def __check_tx(self, result):
# feature. Occasionally the contract is not rebuilt properly and cargo
# clean is needed.
status = result['result']['status']
self.assertIn('SuccessValue', status)
self.assertIn(
'SuccessValue', status,
"The transaction failed, please check that the contract was built with `test_features` enabled."
)

def __start_load(self, node: BaseNode, accounts):
logger.info("Starting load threads")
Expand Down

0 comments on commit f429379

Please sign in to comment.