(identifier="user1")
| 12 | |
| 13 | @staticmethod |
| 14 | def generate_database_models(identifier="user1"): # type: ignore[no-untyped-def] |
| 15 | organisation = Organisation(name="ssg") |
| 16 | organisation.save() |
| 17 | project = Project(name="project1", organisation=organisation) |
| 18 | project.save() |
| 19 | environment = Environment(name="environment1", project=project) |
| 20 | environment.save() |
| 21 | feature = Feature(name="feature1", project=project) |
| 22 | feature.save() |
| 23 | identity = Identity(identifier=identifier, environment=environment) |
| 24 | identity.save() |
| 25 | return identity, project |
| 26 | |
| 27 | @staticmethod |
| 28 | def clean_up(): # type: ignore[no-untyped-def] |
nothing calls this directly
no test coverage detected