Test JSON.SET FPHA type is case-insensitive.
(client)
| 117 | @pytest.mark.redismod |
| 118 | @skip_if_server_version_lt("8.7.0") |
| 119 | def test_json_set_fpha_case_insensitive(client): |
| 120 | """Test JSON.SET FPHA type is case-insensitive.""" |
| 121 | fp_array = [1.1, 2.2, 3.3] |
| 122 | # Lowercase should work |
| 123 | assert client.json().set("fpha_lower", Path.root_path(), fp_array, fpha="fp32") |
| 124 | # Mixed case should work |
| 125 | assert client.json().set("fpha_mixed", Path.root_path(), fp_array, fpha="Fp64") |
| 126 | |
| 127 | |
| 128 | @pytest.mark.redismod |