MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / superuser

Function superuser

api/tests/conftest.py:1284–1288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1282
1283@pytest.fixture()
1284def superuser(): # type: ignore[no-untyped-def]
1285 return FFAdminUser.objects.create_superuser( # type: ignore[no-untyped-call]
1286 email="superuser@example.com",
1287 password=FFAdminUser.objects.make_random_password(),
1288 )
1289
1290
1291@pytest.fixture()

Callers

nothing calls this directly

Calls 2

create_superuserMethod · 0.80
make_random_passwordMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…