MCPcopy
hub / github.com/learnhouse/learnhouse / other_org

Function other_org

apps/api/src/tests/admin/test_admin_api.py:127–140  ·  view source on GitHub ↗
(db)

Source from the content-addressed store, hash-verified

125
126@pytest.fixture
127async def other_org(db):
128 org = Organization(
129 id=2,
130 name="Other Org",
131 slug="other-org",
132 email="other@org.com",
133 org_uuid="org_other456",
134 creation_date=str(datetime.now()),
135 update_date=str(datetime.now()),
136 )
137 db.add(org)
138 await db.commit()
139 await db.refresh(org)
140 return org
141
142
143@pytest.fixture

Callers

nothing calls this directly

Calls 2

OrganizationClass · 0.90
commitMethod · 0.80

Tested by

no test coverage detected