(self)
| 32 | |
| 33 | class PromiseTest(SimpleTestCase): |
| 34 | def test_AutoField(self): |
| 35 | lazy_func = lazy(lambda: 1, int) |
| 36 | self.assertIsInstance( |
| 37 | AutoField(primary_key=True).get_prep_value(lazy_func()), int |
| 38 | ) |
| 39 | |
| 40 | def test_BinaryField(self): |
| 41 | lazy_func = lazy(lambda: b"", bytes) |
nothing calls this directly
no test coverage detected