Skip to content

Commit f08e9ce

Browse files
committed
Fix yaml_cantera2Test mock RMG object missing verbose_comments attribute.
There's a mock RMG object that was missing the attribute, which caused an error in the unit tests.
1 parent b3728b1 commit f08e9ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/rmgpy/yaml_cantera2Test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def __init__(self, out_dir):
243243
self.output_directory = out_dir
244244
self.reaction_model = MockModel()
245245
self.save_edge_species = False
246+
self.verbose_comments = False
246247

247248
mock_rmg = MockRMG(self.tmp_dir)
248249
save_cantera_files(mock_rmg)
@@ -401,6 +402,7 @@ def __init__(self, out_dir, model):
401402
self.output_directory = out_dir
402403
self.reaction_model = model
403404
self.save_edge_species = False
405+
self.verbose_comments = False
404406

405407
return MockRMG(self.tmp_dir, MockModel(MockCore(species_list, reaction_list)))
406408

0 commit comments

Comments
 (0)