Skip to content

Commit

Permalink
[UnitTest] Update oneD Python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and bryanwweber committed Sep 5, 2022
1 parent f2984b5 commit 2b6b1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/test_onedim.py
Expand Up @@ -15,8 +15,8 @@ def test_instantiate(self):

def test_badInstantiate(self):
solid = ct.Solution("diamond.yaml", "diamond")
with self.assertRaises(TypeError):
flame = ct.IdealGasFlow(solid)
with pytest.raises(ct.CanteraError, match="Unsupported phase type"):
ct.IdealGasFlow(solid)

def test_instantiateSurface(self):
gas = ct.Solution("diamond.yaml", "gas")
Expand Down

0 comments on commit 2b6b1a2

Please sign in to comment.