Skip to content

Commit

Permalink
[UnitTests] Add unit tests for InterfaceKinetics
Browse files Browse the repository at this point in the history
* Switch from self.gas to self.sol to accommodate non-gaseous phases
* Use pytest features to improve marking of skipped tests
  • Loading branch information
ischoegl committed Jan 24, 2022
1 parent 4bd4a23 commit 45edcd0
Show file tree
Hide file tree
Showing 2 changed files with 420 additions and 164 deletions.
4 changes: 2 additions & 2 deletions interfaces/cython/cantera/test/test_kinetics.py
Expand Up @@ -476,10 +476,10 @@ def test_sticking_coeff_err(self):
"at T = 5000.0",
"at T = 10000.0",
"Sticking coefficient is greater than 1 for reaction",
"CanteraError thrown by InterfaceReaction::validate:",
"CanteraError thrown by InterfaceReaction2::validate:",
)
if not ct.debug_mode_enabled():
err_msg += ("CanteraError thrown by BlowersMaselInterfaceReaction::validate:",)
err_msg += ("CanteraError thrown by BlowersMaselInterfaceReaction2::validate:",)

ct.make_warnings_fatal()
for err in err_msg:
Expand Down

0 comments on commit 45edcd0

Please sign in to comment.