()
| 45 | |
| 46 | |
| 47 | def test_index_fail(): |
| 48 | with pytest.warns( |
| 49 | DeprecationWarning, match="`index` is deprecated, please use `db_index` instead" |
| 50 | ): |
| 51 | with pytest.raises(ConfigurationError, match="can't be indexed"): |
| 52 | BinaryField(index=True) |
| 53 | with pytest.raises(ConfigurationError, match="can't be indexed"): |
| 54 | BinaryField(db_index=True) |
nothing calls this directly
no test coverage detected
searching dependent graphs…