(self)
| 888 | "can_return_rows_from_bulk_insert", "supports_expression_defaults" |
| 889 | ) |
| 890 | def test_db_expression_primary_key(self): |
| 891 | (obj,) = DbDefaultPrimaryKey.objects.bulk_create( |
| 892 | [DbDefaultPrimaryKey(id=Now())] |
| 893 | ) |
| 894 | self.assertIsInstance(obj.id, datetime) |
| 895 | |
| 896 | |
| 897 | @skipUnlessDBFeature("supports_transactions", "has_bulk_insert") |
nothing calls this directly
no test coverage detected