def test_delete(session, group): from dispatch.group.service import delete, get delete(db_session=session, group_id=group.id) assert not get(db_session=session, group_id=group.id)
def test_get_group(session, group): from dispatch.group.service import get t_group = get(db_session=session, group_id=group.id) assert t_group.id == group.id