We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78d51a7 commit fa6ac1fCopy full SHA for fa6ac1f
1 file changed
tests/test_simulation_execution_options.py
@@ -273,6 +273,10 @@ def test_initialization_with_invalid_checkpoint_options(self):
273
with self.assertRaises(ValueError):
274
SimulationExecutionOptions(checkpoint_file=checkpoint_file)
275
276
+ # Test with invalid checkpoint_file type
277
+ with self.assertRaises(ValueError):
278
+ SimulationExecutionOptions(checkpoint_file=12345, checkpoint_timesteps=10)
279
+
280
# Test with invalid checkpoint_timesteps
281
282
SimulationExecutionOptions(checkpoint_timesteps=-1, checkpoint_file="checkpoint.h5")
0 commit comments