Test that JSONField cannot be unique.
()
| 327 | |
| 328 | |
| 329 | def test_unique_fail(): |
| 330 | """Test that JSONField cannot be unique.""" |
| 331 | with pytest.raises(ConfigurationError, match="can't be indexed"): |
| 332 | JSONField(unique=True) |
| 333 | |
| 334 | |
| 335 | def test_index_fail(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…