(db)
| 125 | |
| 126 | @pytest.fixture |
| 127 | async 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 |
nothing calls this directly
no test coverage detected