(
cls, characteristic, description="char desc"
)
| 1197 | |
| 1198 | @classmethod |
| 1199 | def setup_characteristic_description_data( |
| 1200 | cls, characteristic, description="char desc" |
| 1201 | ): |
| 1202 | language = cls.setup_language_data(name="lang for " + description) |
| 1203 | |
| 1204 | characteristic_description = CharacteristicDescription.objects.create( |
| 1205 | characteristic=characteristic, language=language, description=description |
| 1206 | ) |
| 1207 | characteristic_description.save() |
| 1208 | |
| 1209 | return characteristic_description |
| 1210 | |
| 1211 | # Nature Data |
| 1212 | @classmethod |
no test coverage detected