@@ -907,7 +907,7 @@ def test_verify_data_transform_config_missing(self, mock_exists):
907907 mock_exists .return_value = False
908908 with pytest .raises (
909909 FileNotFoundError ,
910- match = "config.json not found at /test/dir/payload/config.json" ,
910+ match = r "config\ .json not found at /test/dir/payload/config\ .json" ,
911911 ):
912912 get_config ("/test/dir/payload" )
913913
@@ -918,7 +918,7 @@ def test_verify_data_transform_config_invalid_json(self, mock_file, mock_exists)
918918 mock_exists .return_value = True
919919 with pytest .raises (
920920 ValueError ,
921- match = "config.json at /test/dir/payload/config.json is not valid JSON" ,
921+ match = r "config\ .json at /test/dir/payload/config\ .json is not valid JSON" ,
922922 ):
923923 get_config ("/test/dir/payload" )
924924
@@ -929,8 +929,8 @@ def test_verify_data_transform_config_missing_fields(self, mock_file, mock_exist
929929 mock_exists .return_value = True
930930 with pytest .raises (
931931 ValueError ,
932- match = "config.json at /test/dir/payload/config.json is missing "
933- "required fields: entryPoint, dataspace, permissions" ,
932+ match = r "config\ .json at /test/dir/payload/config\ .json is missing "
933+ r "required fields: entryPoint, dataspace, permissions" ,
934934 ):
935935 get_config ("/test/dir/payload" )
936936
0 commit comments