MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / clean_up

Method clean_up

api/util/tests.py:28–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 @staticmethod
28 def clean_up(): # type: ignore[no-untyped-def]
29 Identity.objects.all().delete()
30 FeatureState.objects.all().delete()
31 Feature.objects.all().delete()
32 Environment.objects.all().delete()
33 Project.objects.all().delete()
34 Organisation.objects.all().delete()
35
36 @staticmethod
37 def create_ffadminuser(): # type: ignore[no-untyped-def]

Callers 1

create_ffadminuserMethod · 0.80

Calls 2

deleteMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected