(self)
| 35 | |
| 36 | class TestStringEnumField(MongoDBTestCase): |
| 37 | def test_storage(self): |
| 38 | model = ModelWithEnum(status=Status.NEW).save() |
| 39 | assert get_as_pymongo(model) == {"_id": model.id, "status": "new"} |
| 40 | |
| 41 | def test_set_enum(self): |
| 42 | ModelWithEnum.drop_collection() |
nothing calls this directly
no test coverage detected