@@ -38,7 +38,7 @@ def test_base_parallel_validation(self, var1: str, var2: Any) -> None:
3838 """Tests the parallel setter validation in BaseProcedure class."""
3939 with pytest .raises (pydantic .ValidationError ) as exp :
4040 setattr (self .base_procedure , 'parallel' , var1 )
41- assert exp .value .errors ()[0 ]['msg' ] == "Input should be 'single','points','contrasts' or 'all'"
41+ assert exp .value .errors ()[0 ]['msg' ] == "Input should be 'single', 'points', 'contrasts' or 'all'"
4242 with pytest .raises (pydantic .ValidationError ) as exp :
4343 setattr (self .base_procedure , 'parallel' , var2 )
4444 assert exp .value .errors ()[0 ]['msg' ] == "Input should be a valid string"
@@ -55,7 +55,7 @@ def test_base_display_validation(self, var1: str, var2: Any) -> None:
5555 """Tests the display setter validation in BaseProcedure class."""
5656 with pytest .raises (pydantic .ValidationError ) as exp :
5757 setattr (self .base_procedure , 'display' , var1 )
58- assert exp .value .errors ()[0 ]['msg' ] == "Input should be 'off','iter','notify' or 'final'"
58+ assert exp .value .errors ()[0 ]['msg' ] == "Input should be 'off', 'iter', 'notify' or 'final'"
5959 with pytest .raises (pydantic .ValidationError ) as exp :
6060 setattr (self .base_procedure , 'display' , var2 )
6161 assert exp .value .errors ()[0 ]['msg' ] == "Input should be a valid string"
0 commit comments